Thanks,
With a little more research I find this new way more usefull :o)

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]] On Behalf 
> Of Ara Abrahamian
> Sent: jeudi 20 d�cembre 2001 13:24
> To: [EMAIL PROTECTED]; 'Devel XDoclet'
> Subject: RE: [Xdoclet-devel] New inheritance problem
> 
> 
> If I understand correctly you didn't expect 
> EntitySupportPK/etc for the support class? Right? Well, yes I 
> changed it that way. It's more "component inheritance" now. 
> You have an ejb, you derive from it, automatically 
> home/intf/etc are also derived from those of the base ejb. 
> Put generate="false" for home/intf/whatever in EntitySupport 
> if you don't like it. The old scheme was regular inheritance, 
> you derive from another java class, the new scheme is 
> component inheritance. Now if you make OrderBean implements 
> EntityBean then the support class is not an ejb component 
> anymore, so standard inheritance applies. Take a look at 
> samples. Anyway I do think we need a ejbdoclet tutorial 
> talking about these kind of usage pattern.
> 
> Ara.
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] 
> [mailto:xdoclet-devel- 
> > [EMAIL PROTECTED]] On Behalf Of Vincent Harcq
> > Sent: Thursday, December 20, 2001 10:49 AM
> > To: Devel XDoclet
> > Subject: [Xdoclet-devel] New inheritance problem
> > 
> > Ara,
> > Since your last changes concerning inheritance, I have 
> something not 
> > working anymore :
> > 
> > EntitySupport implements javax.ejb.EntityBean is an abstract Class
> with
> > ejb:bean generate="false" and ejb:interface, ejb:home and 
> ejb:pk with 
> > extends, and local-extends. Then I have an OrderBean extends 
> > EntitySupport (implements NOTHING) (with no ejb:interface,...)
> > 
> > All extends on IF and PK tells me sth like EntitySupportPK, 
> > EntitySupportHome and EntitySupport.
> > 
> > ejb:generate false on EntitySupport should solve this ?
> > 
> > If OrderBean implements EntityBean it works fine but I would prefer
> not
> > doing that and leave my EntityBean relation in EntitySupport.
> > 
> > I will work on that, but maybe I am missing something here ?
> > 
> > Thanks.
> > Vincent.
> > 
> > 
> > 
> > _______________________________________________
> > Xdoclet-devel mailing list [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> _______________________________________________
> Xdoclet-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
> 
> 



_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to