O'Reilly logo

Enterprise Java Programming with IBM WebSphere by Daniel Berg, Greg Hester, Mark Weitzel, Gary Craig, David Pitt, Jim Amsden, Kyle Brown, Russell Stinehour, Peter M. Jakab

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required