--- "Harkness, David" <[EMAIL PROTECTED]> wrote: > From: Konstantin Priblouda > [mailto:[EMAIL PROTECTED] > > You are not quite correct - it depends on > templates, > > but xdoclet will mostly look into superclases. > > Really? Oh man, I wish I had posted that a month > ago. :) > > I have a BaseEJB that all my entity beans subclass, > but all it does is implement the EJB methods > (remove, set context, passivate, etc). What I'd love > is to have it handle the basic bean needs: accessors > (and XDoclet tags) for ID, createdDate, > modifiedDate, and versionNum. It would be nice to > have some class-level tags specified by it as well: > > * @ejb.bean > * view-type="local" > * type="CMP" > * cmp-version="2.x" > * primkey-field="id" > * > * @ejb.transaction > * type="Required" > > Is this possible? It may be that the accessor > inheritance won't work due to how EJBs work, but as > I didn't attempt it I'm unclear if that's doable.
This shall be possible , ( AFAIK ) - but you'll have to verify yourself. I'm not-so-current in ejb stuff. I moved to hibernate 6 months ago :) > Of course, this is yet more reason to go with > Hibernate. :) I plan on taking a little time this > weekend to check it out. http://www.pribluda.de/hibernate-test.tar.gz - a bit outdated, but usefull demo. I used it as handover at JAX 2003 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!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
