> When you switch to Ejbspec 2.0 (the default anyway), you are generating > abstract classes for BMP entities.
For CMP entities actually. For bmp in ejb1.1 and ejb2 xdoclet generates concrete getter/setters in generated class. > You don't have the choice, as for CMP beans, to generate concrete classes. > > Is it so in the EJB specs ? Yup, Ejb 2 uses abstract schema concept. > Shall I need to patch heavilly the templates to have something "bmp=1.x" ? What are you trying to do? Regardless of entity type or ejbspec version you declare getter/setter methods of your entity abstract. It's actually interesting; you can target ejb1.1 and migrate to ejb2 easily by using xdoclet. For many toolkit and framework providers who have to deliver products to say websphere 4 (ejb 1.1) and weblogic 6.x (ejb2) this is very useful. Unfortunately nowhere in docs we documented it :o) Ara. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
