Bugs item #494505, was opened at 2001-12-18 09:29
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=402704&aid=494505&group_id=31602

Category: ejbdoclet
Group: None
Status: Open
>Resolution: Fixed
Priority: 8
Submitted By: Mathias Bogaert (pathoss)
>Assigned to: Vincent Harcq (vharcq)
>Summary: generate="false" still generates

Initial Comment:
When you specify generate="false" on a base entity 
bean class, XDoclet will still use the home and remote 
interface in the super classes. A partial workaround 
is to specify @ejb:home generate="none" with 
@ejb:interface generate="none". But this still uses 
the data object in the super data objects.

I am not sure this is a bug, but filing as one because 
it seems strange to me (at lease then it should be 
better documented).

Mathias

----------------------------------------------------------------------

>Comment By: Vincent Harcq (vharcq)
Date: 2002-04-09 01:05

Message:
Logged In: YES 
user_id=125677

I fixed that recently.  The super home, ... are used if the 
super class IS an EJB that means if the super class 
implements EntityBean or SessionBean.
This is normal behaviour, I think : if your super class 
does not have home,... it is NOT an EJB.

----------------------------------------------------------------------

Comment By: Mathias Bogaert (pathoss)
Date: 2002-01-09 10:25

Message:
Logged In: YES 
user_id=102175

Reopened, cause it doesn't seem to work correctly. If it is 
default behavior, XDoclet should generate a home and remote 
for the generate="false" bean, otherwise the compilation 
fails!

----------------------------------------------------------------------

Comment By: Mathias Bogaert (pathoss)
Date: 2001-12-20 22:15

Message:
Logged In: YES 
user_id=102175

Fixed in CVS. Thanks!

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2001-12-19 10:59

Message:
Logged In: NO 

It's not a bug but the default debavior. It lets you easily 
do "component inheritance", or in other words derive from 
the base component (derive from bean impl 
class/local/remote/home/etc interface/class).
You 
can change this behavior using generate/extends/etc 
parameters. See PersonBean and CustomerBean in 
samples.

Ara.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=402704&aid=494505&group_id=31602

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

Sponsored by http://www.ThinkGeek.com/

Reply via email to