A wise old hermit known only as wu qihua <[EMAIL PROTECTED]> once said:
> why should we add abstract keyword. In my impression ,we needn't > to add this keyword when develop EJB without xdoclet. > > public abstract class MyCmpBean implements EntityBean Because although you declare that the class implements EntityBean (otherwise XDoclet won't process it), you don't actually implement all that interface's methods in your bean class. e.g. you don't need to include ejbActivate, ejbPassivate etc. as XDoclet will add them to the generated subclass. Since you aren't implementing all the interface's methods, you need to declare the class as abstract otherwise you'll get compilation errors. Andrew. PS Ara, do we have a FAQ for this on jguru? ------------------------------------------------------- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
