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.

About this task

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.)

The Java Monitoring and Management Console (JConsole) is part of the Sun Java Development Kit (JDK) and the IBM Software Development Kit (SDK) Version 5. Although these development kits are shipped with WebSphere® Application Server Version 6.1, WebSphere Application Server does not support the JConsole tool.

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




In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 31, 2013 4:28:44 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-nd-mp&topic=tovr_migratingjava
File name: tovr_migratingjava.html