13.9. Summary

Container-managed persistence removes the need for the developer to code the synchronization of an entity EJB with its persistent store. This work is done by code generated automatically by the container. EJB 1.1 implemented a simplistic scheme for persistence management that was not widely adopted. EJB 2.0 introduces a much more sophisticated scheme that is much more portable and allows a greater degree of optimization. As part of this scheme, a new query language—EJB QL—

Hint

It’s probably obvious by now, but worth stressing, that EJB 2.0 CMP is only effective if embraced wholeheartedly. An application that has a mixture of BMP and CMP is likely to be quite difficult to manage. In particular, one of the major strengths of 2.0 ...

Get Applied Enterprise JavaBeans™ Technology 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.