December 2002
Intermediate to advanced
288 pages
9h 46m
English
Whenever possible, try to use container-managed persistence (CMP) for entity beans. Most application servers have highly optimized handling mechanisms for CMP beans, and even though CMP beans might be a little harder to configure and deploy properly, they are well worth the effort. Some of the benefits of CMP are:
Better transaction management
Configurable database layout
No SQL or persistence logic in source code
Container-managed relationships between entity beans