The lifecycle of both BMP and CMP Entity beans is dictated by the EntityBean interface that the bean must implement. This is shown in Figure 6.4.
However, although the method names are the same, the obligations of BMP versus CMP Entity beans for each of those methods are different. This section discusses just those lifecycle methods for BMP Entity beans. The Job Entity bean from the case study will predominantly be used for example code.
To start with, the Entity bean must implement the javax.ejb.EntityBean ...
No credit card required