Migrating EJB references for EJB 1.1 relationships

When EJB 1.1 relationships were created, EJB references were created to the Remote Client view. During the EJB 1.1 project migration using the J2EE Migration Wizard, these EJB remote references for the EJB 1.1 relationships are removed and replaced with EJB local references. Local references for user-defined EJB references must be recreated manually.

Note: In EJB 2.x, EJB relationships can be created only if the beans have Local Client view defined on them and the EJB local references are created for the EJB 2.x relationships.

For user-defined EJB references, migration is not done using the J2EE Migration Wizard. However, follow these steps to set up the local references:

  1. Delete the existing EJB remote references in References page of the deployment descriptor editor.

  2. Add an EJB local reference in References page of the deployment descriptor editor.

 

Related reference

Merge of method elements during project structure migration

Web projects (Servlet level 2.2 to Servlet level 2.4)