Contents - Cultural View
Contents - Cultural View Contents - Cultural View
Java Development Kit 162 See also • Classpath (Java) • Java platform • Java version history External links • Sun Java SE [7] – Sun's current stable release (6). • IBM Java technology JDK [8] • Oracle's JRockit JDK [5] • Open source JDK 7 project [22] • Open source JDK project [9] • Community support [10] • GNU Classpath [11] – a Free software JDK alternative • Apache Harmony [38] – an Open source JDK alternative • Javadoc Developer Kit (JDK) Search Engine [12] • Developer Support Services from Sun Microsystems [13] References [1] "Java SE Downloads - Sun Developer Network (SDN)" (http:/ / java. sun. com/ javase/ downloads/ widget/ jdk6. jsp). . [2] http:/ / dlc. sun. com. edgesuite. net/ jdk7/ binaries/ index. html [3] "Sun's May 8th announcement of source code for JDK" (http:/ / www. prnewswire. com/ cgi-bin/ stories. pl?ACCT=104& STORY=/ www/ story/ 05-08-2007/ 0004583482). . [4] http:/ / www-128. ibm. com/ developerworks/ java/ jdk/ [5] http:/ / www. oracle. com/ appserver/ jrockit/ index. html [6] http:/ / docs. info. apple. com/ article. html?artnum=120209 [7] http:/ / java. sun. com/ javase/ [8] http:/ / www. ibm. com/ developerworks/ java/ jdk/ [9] http:/ / openjdk. java. net/ [10] http:/ / community. java. net/ jdk/ [11] http:/ / www. gnu. org/ software/ classpath/ [12] http:/ / javadoc. ankerl. com/ [13] http:/ / www. sun. com/ service/ developer/ index. jsp
Java Interface Definition Language 163 Java Interface Definition Language In software development, Java Interface Definition Language, or Java IDL, is an implementation of the CORBA specification and enables interoperability and connectivity with heterogeneous objects. It is basically an Object Request Broker provided with JDK. The Java IDL enables distributed Web applications to transparently invoke operations on remote network services using the industry standards IDL and IIOP from OMG. External links • Sun Developer Network: Core Java: Java IDL [1] References [1] http:/ / java. sun. com/ products/ jdk/ idl/ Java resource bundle A resource bundle is a Java .properties file that contains locale-specific data [1] . It is a way of internationalising a Java application by making the code locale-independent. Naming a resource bundle Resource bundles have a naming convention to identify them when they deal with different languages. The file name is followed by an underscore and a two-letter language code (ISO 639-2 code) that specifies the language that the resource bundle deals with. So, for example, an application that supports Spanish and French can have these resource bundles, respectively: resbund_es.properties resbund_fr.properties This can also be followed by another underscore and a two-letter country code (ISO 3166-1). In this case, an application that supports British English and US English respectively will have the following files: resbund_en_GB.properties resbund_en_US.properties Content of a resource bundle Resource bundles are essentially text files. The most common type of content in a resource bundle is a list of strings. Each string has a “key” to identify it, which is the same in all the different resource bundles. When writing the code for the application, only the key is mentioned (this is why we say that the code is locale-independent). Using the methods provided in the Java API for the ResourceBundle class [2] , we can access the string (i.e. the "value") associated with the key. Depending on which locale the application is handling, it will call the adequate resource bundle at runtime [3] . For instance, our resource bundle for the UK English locale can contain “firstKey = Localisation” and our US English one can contain “firstKey = Localization”. We will refer only to “firstKey” in the code and, according to the current locale settings, the application will use either “Localization” or “Localisation”.
- Page 115 and 116: Devoxx 111 Related links • Devoxx
- Page 117 and 118: Elastic Path 113 References [1] htt
- Page 119 and 120: Electronic Disturbance Theater 115
- Page 121 and 122: Event dispatching thread 117 • Sw
- Page 123 and 124: Facelets 119 The above code can be
- Page 125 and 126: final (Java) 121 } Sphere(double x,
- Page 127 and 128: FormEngine 123 FormEngine Developer
- Page 129 and 130: Generics in Java 125 Motivation for
- Page 131 and 132: Generics in Java 127 Pair grade440
- Page 133 and 134: G-java 129 G-java G-java 2.x was a
- Page 135 and 136: GlassFish Metro 131 Features Metro
- Page 137 and 138: James Gosling 133 Contributions He
- Page 139 and 140: Todd Greanier 135 Todd Greanier Tod
- Page 141 and 142: Head First (book series) 137 Head F
- Page 143 and 144: Inner class 139 • Local class - T
- Page 145 and 146: Interface (Java) 141 The body of th
- Page 147 and 148: Internet Foundation Classes 143 Int
- Page 149 and 150: Internet Foundation Classes 145 •
- Page 151 and 152: JAD (file format) 147 JAD (file for
- Page 153 and 154: JAMWiki 149 JAMWiki Developer(s) Ry
- Page 155 and 156: JGroups 151 JGroups Stable release
- Page 157 and 158: Java Class Library 153 Java Class L
- Page 159 and 160: Java Class Library 155 Alternative
- Page 161 and 162: Java Classloader 157 User-defined c
- Page 163 and 164: Java compiler 159 Java compiler A J
- Page 165: Java Development Kit 161 • jstack
- Page 169 and 170: Java TV 165 See also • Xlet Exter
- Page 171 and 172: Java Work Framework 167 Database db
- Page 173 and 174: Java annotation 169 programmaticall
- Page 175 and 176: Java annotation 171 component.getAt
- Page 177 and 178: Java collections framework 173 Refe
- Page 179 and 180: Java syntax 175 Java syntax The syn
- Page 181 and 182: Java syntax 177 Double quote \" Tab
- Page 183 and 184: Java syntax 179 import statement Th
- Page 185 and 186: Java syntax 181 switch statement Sw
- Page 187 and 188: Java syntax 183 outer: for (int i =
- Page 189 and 190: Java syntax 185 The catch and final
- Page 191 and 192: Java syntax 187 Reference types Ref
- Page 193 and 194: Java syntax 189 Foo.doSomething();
- Page 195 and 196: Java syntax 191 Modifiers • abstr
- Page 197 and 198: Java syntax 193 } public void walk(
- Page 199 and 200: Java syntax 195 Inheritance Interfa
- Page 201 and 202: Java syntax 197 /* Any Mapper insta
- Page 203 and 204: Java: View Technologies and Framewo
- Page 205 and 206: JavaBeans Activation Framework 201
- Page 207 and 208: javac 203 References [1] http:/ / j
- Page 209 and 210: JavaFX 205 profile includes Swing a
- Page 211 and 212: JavaFX 207 External links • Offic
- Page 213 and 214: JExamples 209 JExamples Industry Co
- Page 215 and 216: Jikes 211 Jikes Developer(s) IBM St
Java Interface Definition Language 163<br />
Java Interface Definition Language<br />
In software development, Java Interface Definition Language, or Java IDL, is an implementation of the CORBA<br />
specification and enables interoperability and connectivity with heterogeneous objects. It is basically an Object<br />
Request Broker provided with JDK. The Java IDL enables distributed Web applications to transparently invoke<br />
operations on remote network services using the industry standards IDL and IIOP from OMG.<br />
External links<br />
• Sun Developer Network: Core Java: Java IDL [1]<br />
References<br />
[1] http:/ / java. sun. com/ products/ jdk/ idl/<br />
Java resource bundle<br />
A resource bundle is a Java .properties file that contains locale-specific data [1] . It is a way of internationalising a<br />
Java application by making the code locale-independent.<br />
Naming a resource bundle<br />
Resource bundles have a naming convention to identify them when they deal with different languages. The file name<br />
is followed by an underscore and a two-letter language code (ISO 639-2 code) that specifies the language that the<br />
resource bundle deals with. So, for example, an application that supports Spanish and French can have these resource<br />
bundles, respectively:<br />
resbund_es.properties<br />
resbund_fr.properties<br />
This can also be followed by another underscore and a two-letter country code (ISO 3166-1). In this case, an<br />
application that supports British English and US English respectively will have the following files:<br />
resbund_en_GB.properties<br />
resbund_en_US.properties<br />
Content of a resource bundle<br />
Resource bundles are essentially text files. The most common type of content in a resource bundle is a list of strings.<br />
Each string has a “key” to identify it, which is the same in all the different resource bundles. When writing the code<br />
for the application, only the key is mentioned (this is why we say that the code is locale-independent). Using the<br />
methods provided in the Java API for the ResourceBundle class [2] , we can access the string (i.e. the "value")<br />
associated with the key. Depending on which locale the application is handling, it will call the adequate resource<br />
bundle at runtime [3] .<br />
For instance, our resource bundle for the UK English locale can contain “firstKey = Localisation” and our US<br />
English one can contain “firstKey = Localization”. We will refer only to “firstKey” in the code and, according to the<br />
current locale settings, the application will use either “Localization” or “Localisation”.