April 2003
Intermediate to advanced
750 pages
16h 53m
English
Bean-managed persistence (BMP) enables you to manage the persistence of your bean instead of delegating it to the container. In order to achieve this, you have to write a number of methods that are usually handled by the CMP layer of the container.
This bean has to implement the same interfaces as a CMP entity bean:
The bean class has to implement the javax.ejb.EntityBean interface. All callback methods in this interface have to be implemented.
The component interface has to extend either the javax.ejb.EJBObject or the javax.ejb.EJBLocalObject, depending on whether it is a local or a remote component interface. In this interface, you will mainly find business methods as well as accessor methods.
The home interface ...
Read now
Unlock full access