Hi Christoph.
geez - not sure how this one got through... I'll take a look to see if
there's any reason why it is the way it is, but certainly looks like it
should check for throws clauses...
having said that - in your case, your superclass is wrong. as of ejb 1.1
you shouldn't throw RemoteException from the implementation class. And as
EJBException is runtime you dont need to declare it, so it should all work
fine for you if you just remove the two throws clauses.
cheers
dim
On Thu, 20 Sep 2001, Christoph Sturm wrote:
> Hello xdocleet-user,
>
> I have converted a project from ejbdoclet to xdoclet, and now I am
> running into these problems:
> I have a base class for all my beans that resides in a jar file and
> contains stubs for all functions that are not always needed.
> They all throw EJBException and RemoteException:
> public void ejbActivate() throws EJBException, RemoteException {}
> public void ejbPassivate() throws EJBException, RemoteException {}
> public void ejbLoad() throws EJBException, RemoteException {}
> public void ejbStore() throws EJBException, RemoteException {}
>
> Now XDoclet generates the *CMP classes, and adds no throws clause to
> the method it overrides:
>
> public void ejbLoad()
> {
> super.ejbLoad();
>
> dirty = false;
> dataHolder = null;
> }
>
> public void ejbStore()
> {
> super.ejbStore();
>
>
> dirty = false;
> }
>
> public void ejbActivate()
> {
> super.ejbActivate();
> }
>
> public void ejbPassivate()
> {
> super.ejbPassivate();
> dataHolder = null;
> }
>
> This used to work with ejbdoclet 1.2.
>
> Next thing I tried was generating deployment descriptors for weblogic,
> and xdoclet complains about the missing query element in my finder
> tags, which I cant understand because I use ejbspec=1.1. Or does
> weblogic always need a finder query? (I have only simple finders)
>
> APart from that xdoclet looks really impressive, and has really lots
> of new features compared to ejbdoclet.
>
>
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user