> -----Original Message-----
> From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 24, 2002 5:58 PM
> To: Eric McIntyre; XDoclet User mailing List (E-mail)
> Subject: Re: [Xdoclet-user] Tag inheritance from interfaces
>
>
> I'm not sure where the problem is.... where do you want the
> javadoc copied
> to? As I understand it when you run javadoc, the generated component
> interface will be empty, but extend the business interface, which will
> contain the appropriate javadoc. Could you tell me:
> - are you using any @ejb.interface-method tags on methods
> that are also
> in the business interface?
> - what gets generated in the component interface
Sorry about that. I kind of left out the point in my last message. After tweaking the templates, the generated code is fine, but the generated *deployment descriptors* are not correct. CMP persistent fields and relationships are left out of ejb-jar.xml & the vendor descriptors.
> as a side note - the business interface pattern is really a
> workaround for
> problems caused by the lack of tools in ejb. If you use
> XDoclet fully, then
> the generated interface will always match the bean.
>
Yes, I actually thought of this, but we are using an interface for another reason - to hide the "EJB-ness" of our entity objects. Although, reading your comment, it occured to me that this may not be a worthwile goal. We'll have to think about this some more.
Eric
