Migrate to Java 2 Standard Edition (J2SE) 5

 

+

Search Tips   |   Advanced Search

 

Overview

WAS 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 added by J2SE 5, adjust the JIT mode if necessary, and begin the transition from deprecated functions.

For an introduction to J2SE 5, see the "J2SE 5 in a Nutshell" article on the Sun site.

The following JSRs are new in J2SE 5:

The new virtual machine specification adds 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, see the J2SE 5 application programming interface documentation on the Sun site.

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