--- khote <[EMAIL PROTECTED]> wrote: > I haven't really heard anything nice about > EntityBeans, that's why I chose > to pursue hibernate in the first place :-) > I'm still experimenting with the DAO as SessionBean > vs DAO wrapped by > session bean, and learning how XDoclet can help me > with all of this. > > Can you makes some suggestion regarding @ejb.dao > http://hagelnx.com/hagelnx-site/xdocletDocs/tags/[EMAIL PROTECTED](0..1)
forget about ejb tags. they are of no use , if you like to wrap something by session bean. If you like your wrapper to be automatically generated, then you will need 2 subsequent invocatrions of xdocelt ( first to generate raw session bean, second to process this bean ) If you write your dao as normal bean, mark remotely accessible methods with @ejb.interface and then extend it by the class implementing javax.ejb.SessionBean ( with some pesky methods to initialize your dao on ejb create etc - whatever lifec<ycle it gets ) and havong necessary class level tags, you will get everything you need in just one invocation. regards, ===== ----[ Konstantin Pribluda ( ko5tik ) ]---------------- Zu Verst�rkung meines Teams suche ich ab Sofort einen Softwareentwickler[In] f�r die Festanstellung. Arbeitsort: Mainz Skills: Programieren, Kentnisse in OpenSource-Bereich ----[ http://www.pribluda.de ]------------------------ __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
