ahhh, that makes sense.  yes, suppose you have a bean MyEntityEJB.java,
which is an entity bean you put xdoclet comments in.  XDoclet will not
change that class, but will make a subclass of it, and use
that.  therefore you need to have your class declared as abstract.

hth
dim

On Sun, 7 Oct 2001, Konrad Hernblad wrote:

> do u mean the ones from xdoclet\samples\lib?
> 
> if so, yes.
> 
> i check the xxxCMP.java generated file and it actually does appear to have 
> those optional methods.  i will do some more checking, but i think that my 
> ant script is trying to compile the original source (xdoc-marked up .java 
> file) as well, which would explain everything.  sorry for the confusion.  i 
> was compiling the original source directory as well because it didn't 
> appear that my message-driven bean was being generated to the "gen-src" dir...
> 
> thanks for the suggestion though.  :)
> 
> 
> 
> 
> At 17:30 01/10/07 +1000, you wrote:
> >Hi,
> >
> >I'm assuming you're using CMP, and that your SimpleCMP class is being
> >generated, but lacking the ejbLoad etc methods.  Have you got the ejb
> >classes in your classpath?
> >
> >cheers
> >dim
> >
> >On Sun, 7 Oct 2001, Konrad Hernblad wrote:
> >
> > > hello.
> > >
> > > i'm trying to write a simple ejb entity bean (similar to PersonBean.java in
> > > the xdoclet samples) and it appears that the optional methods (e.g.
> > > ejbLoad, ebjStore, etc.) are not being generated.  when i run ant, i get
> > > error messages that my entity bean must be declared abstract since it
> > > doesn't explicity declare those optional methods.
> > >
> > > anyone else having this problem?
> > >
> > > please advise.  thanks...
> > >
> > > --------------
> > > TERRORIST ATTACK ON AMERICA (tues, sept 11, 2001)
> > >
> > > Information and Disaster Relief Resources
> > > 
> > 
>http://www.konrad.ws/special/20010911_terroristAttackOnAmerica/infoAndDisasterReliefResources.htm
> > >
> > >
> > > _______________________________________________
> > > Xdoclet-user mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> > >
> 
> 
> --------------
> TERRORIST ATTACK ON AMERICA (tues, sept 11, 2001)
> 
> Information and Disaster Relief Resources
> 
>http://www.konrad.ws/special/20010911_terroristAttackOnAmerica/infoAndDisasterReliefResources.htm
> 
> 


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

Reply via email to