Thank you, that helped!

Another question. I have a bean AAABean which extends the bean BaseBean.
How can I have the home interface AAAHome extend the home interface
BaseHome?
Can I do that for remote interfaces? I did not find any doclets which would
direct the
xdoclet engine make such subclass dependency.

Thanks!

Michael.



----- Original Message -----
From: "Dmitri Colebatch" <[EMAIL PROTECTED]>
To: "Michael Larionov" <[EMAIL PROTECTED]>
Cc: "Xdoclet mailing list" <[EMAIL PROTECTED]>
Sent: Wednesday, October 03, 2001 5:33 PM
Subject: Re: [Xdoclet-user] Exceptions not declared in the generated
methods.


> Since EJB 1.1 you are not allowed to throw RemoteException from your bean
> methods.  Thats why XDoclet doesn't check for it.  You should wrap a
> RemoteException in an EJBException and let the container deal with it.
>
> cheers
> dim
>
> On Wed, 3 Oct 2001, Michael Larionov wrote:
>
> > Hi,
> >
> > I have the following problem. I have a session bean AAA which defines
> > method ejbRemove() throws RemoteException.
> >
> > Now, xdoclet generates for me a file AAASession which has the
> > following method:
> >
> >    public void ejbRemove()
> >    {
> >       super.ejbRemove();
> >    }
> >
> > Now I wonder what happened with RemoteException? It is neither caught
> > nor thrown in this method. So, as a result, my project does not
> > compile.
> >
> > I am using xdoclet 1.0.1
> >
> > Please help!
> >
> > Thanks!
> >
> > Michael.
> >
> >
> >
>
>


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

Reply via email to