Implementing a CMP Entity Bean
Specifying a CMP Entity bean is identical to specifying a BMP Entity bean; it consists of defining the local-home interface, the local interface, and the bean itself. The good news, as you saw in listing 7.1, is that the bean itself is significantly simpler (and quicker to implement).
The Local Interfaces
The requirements of local-home and local interfaces for a CMP Entity bean are the same as for a BMP Entity bean. In fact, if you are converting a BMP Entity bean to CMP you will probably not have to make any changes to the interfaces.
The Agency case study has made changes to the findByLocation() methods in the Job and Applicant Entity beans. In the BMP version, the single parameter was a String. In the CMP ...