There's probably more I've forgotten, but for starters:I'm trying to find the use of the generated session (implementation) class from a sessio bean. Currently the only thing it does for me is to generate a public class extending from my session bean and calling super on the base javax methods methods declared as interface-method in my session bean. I haven't seen any xtag that would generate any added value. I understand the added value of a CMP generated class for the entity bean, but not the session one. Did I miss smthg ? Thank you. seb.
1) For stateless beans, you don't need to include ejbCreate() and it'll be added automatically in the session subclass.
2) You don't need to include ejbActivate/ejbPassivate/setSessionContext/etc. in your bean class if there's no code in them, and they'll get added in the subclass.
3) If you want to call a DAO from the session bean (they're not just for entity EJB's, you know) the stuff to delegate your methods to the DAO gets put in the session subclass.
Andrew.
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
-------------------------------------------------------
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
