Professional Documents
Culture Documents
SCEA Notes
SCEA Notes
Performance
CMP can make many optimizations: optimal locking; optimistic transactions; efficient lazy
loading; efficiently combining multiple queries to the same table (i.e. multiple beans of the same
type can be handled together); optimized multi-row deletion to handle deletion of beans and
their dependents. BMP should always win out over CMP in performance. With CMP, lazy loading
happens automatically behind the scenes.
Scalability