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

Chapter 7. Entity Beans with CMP

Topics in This Chapter

  • Container-Managed Persistence

  • Entity Bean Relationships and Navigability

  • Entity Bean CMP and CMR Fields

  • EJB Query Language

  • Finder/Select Queries

  • Local Objects

  • Session Facade Pattern

Now that we've slugged through the swamp of BMP, tackling dirty flags, DAOs, and the underlying workings of finder methods, we're ready to take on the challenge of Container-Managed Persistence. With CMP, the bean developer does not write the database access code that entity beans use to insert, select, update, and delete records. If business methods modify persistent variables, the CMP mechanism automatically records these changes in the underlying datastore. And, database independent persistent mechanisms are no ...

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