Operating Systems: i5/OS
             Personalize the table of contents and search results

 

Migrating to Java 2 Standard Edition (J2SE) 5

 

This product version supports the Java 2 Standard Edition (J2SE) 5 specification. Its Java virtual machine provides a Java language compiler and execution environment. Decide whether your new and existing applications will take advantage of the capabilities provided by J2SE 5, adjust the JIT mode if necessary, and begin the transition from deprecated functions.

 

Overview

For an introduction to J2SE 5, see the "J2SE 5 in a Nutshell" article on the Sun site at http://java.sun.com/developer/technicalArticles/releases/j2se15/. The following JSRs are new in J2SE 5:

The virtual machine specification provides several features and functions to benefit application developers, such as generics, auto-boxing of primitives, annotations (API documentation metadata for code generation), and support for enumerated types. This makes development quicker, easier, and less error prone. For example, generics should help eliminate issues with ClassCastExceptions from items like vectors, as generics based containers will allow compile-time catching of incorrect assignment or casting. (For developers familiar with the C++ language, generics are a new Java language function similar to C++ templates.)

For details on the specification, see the J2SE 5 application programming interface documentation on the Sun site at http://java.sun.com/j2se/1.5.0/docs/api/index.html. See also http://java.sun.com/j2se/1.5.0/docs/index.html.

 

Procedure




}
J2EE specification

 

Related information


http://java.sun.com/developer/technicalArticles/releases/j2se15/
http://java.sun.com/j2se/1.5.0/docs/api/index.html
http://java.sun.com/j2se/1.5.0/docs/index.html
http://java.sun.com/j2se/1.4.2/docs/api/index.html
http://java.sun.com/j2se/1.5.0/compatibility.html
http://java.sun.com/j2se/1.5.0/docs/guide/jvmti/index.html
http://java.sun.com/j2se/1.5.0/docs/guide/xml/jaxp/JAXP-Compatibility_150.html