Developing a BMP Bean
In the preceding section, we developed a CMP bean in which the container handled all the persistence. We will now look at the process for building a BMP bean and contrast the process from the CMP bean. For a BMP bean, we must produce the appropriate persistence code for our bean instead of the container accomplishing that task for us.
Most of the changes from EJB 1.1 to EJB 2.0 specifications focused on container managed persistence. There were a few changes to bean managed persistence. The changes are basically two different items:
The introduction of local interfaces for use within these beans allows for fine-grained objects to be used without a detriment to performance.
The home interface can contain more than just accessors, ...
Get Borland® JBuilder™ Developer’s Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.