Hi Ara,

sorry - this did not work for me.

I added the *Impl classes to the source path and wrote: generate="false"
into the *Bean class files. However, XDoclet always generated remote and
local interfaces for the *Bean class as well. When compiling, I got a
"duplicate class" error message on *Impl because XDoclet generated a remote
interface with the same name as the *Impl class.

I guess, what I want is not inheritance but simply a different naming schema
for the <ejb-class> entry in the deployment descriptor.

How can I do this?

Cheers...
Matthias


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:xdoclet-user-admin@;lists.sourceforge.net]On Behalf Of Ara
> abrahamian
> Sent: Monday, November 04, 2002 7:09 AM
> To: 'Matthias Bohlen'; [EMAIL PROTECTED]
> Subject: RE: [Xdoclet-user] Modified EJB class name in deployment desc
>
>
> > Example:
> > PersonService (UML class) -> PersonServiceBean (with XDoclet tags) +
> > PersonServiceImpl (w/o XDoclet tags).
> >
> > The *Impl class always extends the *Bean class. However,
> XDoclet does
> > not know that *Impl exists because it does not contain any
> @ejb-tags.
> >
> > Now, what's the deal?
>
> I believe you don't need any tag to make a bean appear in ejb-jar.xml.
> And there tag inheritance so if you specify it in base class you don't
> need to respecify it for the Impl class. Probably the problem is a
> fileset which doesn't contain the Impl files.
>
> Ara.
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: ApacheCon, November 18-21 in
> Las Vegas (supported by COMDEX), the only Apache event to be
> fully supported by the ASF. http://www.apachecon.com
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>




-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to