Chapter 26. Bean-Managed Persistence

In earlier chapters you have seen how the EJB specification provides for persistence management in EJB implementations. While data can be stored and retrieved from a database by both session and entity EJBs, you have learned that the primary component type defined in the specification for persistent data storage and retrieval is the entity EJB.

You have seen how the specification describes using one of two options for entity beans: CMP or BMP. CMP implicitly applies persistence to enterprise beans, relieving the bean developer from having to code for it. A detailed discussion of the implementation of CMP EJBs in WAS and WebSphere Studio can be found in Chapters 23, 24, and 25. BMP enables the bean developer ...

Get Enterprise Java Programming with IBM WebSphere 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.