November 2003
Intermediate to advanced
1488 pages
36h 35m
English
In this section, we create a CMP version of the Doctor Entity bean from the last section. This approach illustrates the differences between BMP and CMP from a coding standpoint.
The Home interface does not change from BMP to CMP. The clients of the Entity bean use the same creation and finder methods from the Home interface.
The same DoctorVO class from the BMP example is used with this CMP example. The value object for BMP does not need to be any different that the one used for CMP.
Just like the Home interface, EJB clients use the same remote methods, individual getters/setters, and bulk getters/setters.
This ...
Read now
Unlock full access