Sun Java System Application Server Platform Edition 9 Upgrade and Migration Guide

Migrating Enterprise EJB Modules

Application Server 6.x supports EJB 1.1, and the Application Server 8.x supports EJB 2.0. Application Server 9 supports EJB 3.0. Therefore, both can support:

EJB 2.0, however, introduces a new type of enterprise bean, called a message-driven bean (MDB).

J2EE 1.4 specification dictates that the different components of an EJB must be grouped together in a JAR file with the following structure:

Application Server 6.x uses this archive structure. However, the EJB 1.1 specification leaves each EJB container vendor to implement certain aspects as they see fit:

EJB Migration

As mentioned in Chapter 4, Understanding Migration, while Application Server 6.x supports the EJB 1.1 specification and Application Server 8 supports EJB 2.0, Application Server 9 supports the EJB 3.0 specification.

Although the EJB 1.1 and 2.0 specification continues to be supported in the Application Server, the use of the EJB 3.0 architecture is recommended to leverage its enhanced capabilities.

For detailed information on migrating from EJB 1.1 to 2.0 to EJB 3.0, please refer to Chapter 5, Migrating EJB