Considerations for developing EJB 3.0 modules for the Feature Pack for EJB 3.0

The WebSphere® Application Server Feature Pack for EJB 3.0 implements the Enterprise JavaBeans™ (EJB) Version 3.0 and Java™ Persistence API (JPA) specifications.

EAR files can contain both EJB 3.0 modules and J2EE 1.4 modules, so that you can update older applications without having to rewrite all your EJB code. Existing EAR deployment descriptors do not need to be migrated.

You can import a J2EE 1.4 project by importing the deployed EAR file. The project facet will be set to the J2EE 1.4 level. To change the project facet, open the project properties for the EAR file, select

Project Facets, and change the version to 5.0. The deployment descriptor can remain at a J2EE 1.4 level or the schema can be manually updated.

If you have an existing J2EE 1.4 EAR file that contains an EJB 3.0 module, you can import the EAR file into your workspace. The deployment descriptor remains at the J2EE 1.4 level but the facet is set to version 5.0.

An EAR file without a deployment descriptor can be run on IBM® WebSphere® Application Server 6.1 with the EJB 3.0 feature pack installed.

The Feature Pack for EJB 3.0 does not support Java EE 5 Web or application client modules.

 

Related concepts

EJB modules