Migrating Enterprise JavaBeans™ projects (EJB 1.1 to EJB 2.x)

Migrating an EJB project from the EJB 1.1 to EJB 2x specification level is described in this section.

Migrating an EJB project from EJB 1.1 to EJB 2.x involves the migration of container-managed persistence (CMP) entity beans.

There have been no changes in entity beans between J2EE 1.3 and J2EE 1.4 specification level. Migrating CMP entity beans from the EJB 1.1 to EJB 2.1 specification level is accomplished the same way as migrating a CMP entity bean from EJB 1.1 to EJB 2.0. Migrating container-managed entity beans from EJB 1.1 to EJB 2.x specification level requires the following steps:

  1. Convert the EJB project from EJB 1.1 to EJB 2.x.

  2. Migrate the EJB code from EJB 1.1 to EJB 2.x.

  3. Migrate any user-defined EJB 1.1 references to local references in EJB 2.x.

 

Related reference

J2EE 1.2 to 1.4 specification level migration

Merge of method elements during project structure migration

Web projects (Servlet level 2.2 to Servlet level 2.4)