A1: | For migrating entity beans developed using the EJB 1.1 specification, the application needs to be recompiled and redeployed using the EJB 2.0 specification container tools. More importantly, the entity beans developed using the EJB 1.1 specification using CMP to persist data need to be entirely rewritten because the EJB 2.0 specification has made significant changes in how CMP works in the EJB 2.0 specification supported by WebLogic Server 7.0. |
A2: | Yes. To perform different activities, one of which is CMP, the WebLogic Server provides a tool called the WebLogic Builder. The WebLogic Builder provides a visual environment for editing the deployment descriptor files of an enterprise application. To perform CMP, the WebLogic Builder provides a visual interactive mechanism to capture the field mappings for an entity bean. These field mappings are directly stored in the required deployment descriptor file without the cumbersome task of manipulating these files by hand. |