Topics in This Chapter
Entity Bean Relationships and Navigability
Entity Bean CMP and CMR Fields
EJB Query Language
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 ...