March 2002
Intermediate to advanced
464 pages
8h 51m
English
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 ...
Read now
Unlock full access