Sams Teach Yourself BEA WebLogic Server 7.0™ in 21 Days
by Mandar S. Chitnis, Lakshmi Ananthamurthy, Pravin S. Tiwari
Components of an Entity Bean Using BMP
The components of an entity bean that uses BMP are the same as those of an entity bean that uses CMP:
Remote interface— There is no change in how the remote interface is written for entity beans using either BMP or CMP.
Home interface— There is no change in how the home interface is written for entity beans using either BMP or CMP.
Entity bean implementation class— The major changes that need to be carried out to implement an entity bean using BMP occur in the entity bean's implementation class. To write an entity bean using BMP, the life-cycle methods that deal with persisting and maintaining the state of the entity bean need to be implemented. The following are the methods that need to be changed:
ejbCreate() ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access