O'Reilly logo

Enterprise JavaBeans™ Component Architecture: Designing and Coding Enterprise Applications by Paul Anderson, Gail Anderson

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

7.1. Introducing Container-Managed Persistence

Previous to the EJB 2.0 specification, a bean developer could only use container-managed persistence with isolated entity beans—that is, beans with no relationship fields (foreign keys) to other entity beans. This restriction made CMP possible for simple entity beans only and prevented CMP use with real-world, enterprise applications.

That all changed with the EJB 2.0 specification. With the addition of local interfaces, bean developers can now specify entity bean relationships and build enterprise systems with data that models real-world requirements more effectively. As we explore the properties of entity beans with container-managed persistence, keep in mind that CMP and BMP entity beans still ...

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