April 2003
Intermediate to advanced
750 pages
16h 53m
English
As we mentioned in the introduction:
Try to use CMP whenever you can.
However, there are still situations where developers will be forced to develop BMP entity beans. Because the only meaningful difference between BMP and CMP components is who provides the persistence logic, BMPs offer quite a good deal of flexibility in developing components within the J2EE architecture, when functionality is not covered by CMP.
BMP are quite difficult and long to write. With abstractions and helper classes that we introduced in the code (environment variables from the deployment descriptor, separating the JDBC code in a persister helper class, subclassing a CMP 2.0 bean class), it is not too difficult.
After seeing ...
Read now
Unlock full access