O'Reilly logo

Sams Teach Yourself J2EE™ in 21 Days by Peter Roxburgh, Andy Longshaw, Debbie Law, Dan Haywood, Martin Bond

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

Entity Bean Types

Entity beans represent shared persistent data stored in an RDBMS or other persistent data store. If the data store is relational, the responsibility for actually performing the JDBC can be placed either with the bean itself or with the EJB container.

The term for the former is bean-managed persistence (BMP), and for the latter it is container-managed persistence (CMP).

Note

The EJB specification is very much oriented around relational data stores. Certainly, container-managed persistence can only be performed through JDBC javax.sql.DataSource objects, and JDBC is based around ANSI SQL 92.

If using bean-managed persistence, any API can be used to save the bean's state to a persistent data store, but even then, the methods that ...

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