O'Reilly logo

Applied Enterprise JavaBeans™ Technology by Kevin Boone

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

11.4. Persistence management

Effective persistence management is the key to efficient use of entity EJBs, but only part of this process is under the control of the developer. Version 1.1 of the EJB Specification defined two persistence schemes: bean-managed and container-managed. Version 2.0 extends this to include a new version of container-managed persistence that supports not only persistent instance variables, but persistent associations between EJBs. I will refer to the old scheme as ‘1.1-style CMP’ and the new one as ‘2.0-style CMP’ in the rest of this chapter.

11.4.1. Fundamental principles

Whatever persistence management strategy we use, the interaction between the container and the instance follows exactly the same pattern, which is ...

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