o build a CMP 2.0 entity you had to know many details. So you class had to implement the Entity Bean interface. Then you were forced to implement the lifecycle (setEntityContext, ejbLoad,ejbStore,ejbRemove, ejbActivate,ejbPassivate) and also the ejbCreate and ejbPostCreate methods. After this local (hopefully not remote) interfaces had to be implement. The development of a CMP 2.0 was tedious "monkey" work, so it could be easily generated (e.g. with XDoclet)[...]