QA

Q&A

Q1:

I have developed an application with entity beans using the EJB 1.1. specification. How do I migrate my application's entity beans to the EJB 2.0 specification supported by WebLogic Server 7.0?

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.

Q2:

Are there any tools to perform CMP available from WebLogic Server?

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.



Sams Teach Yourself BEA WebLogic Server 7. 0 in 21 Days
Sams Teach Yourself BEA WebLogic Server 7.0 in 21 Days
ISBN: 0672324334
EAN: 2147483647
Year: 2002
Pages: 339

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net