On Wed, 3 Oct 2001, Michael Larionov wrote:

> 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?
use @ejb:home extends="my.package.BaseHome" and make sure that BaseHome
extends the EJBHome.  You can also use local-extends and remote-extends
for this.  

I think the docs answer these questions, you should have them in your
diestribution, if you dont, look at http://xdoclet.sourceforge.net/docs/
and view the details on the EJBDoclet task.

> Can I do that for remote interfaces? I did not find any doclets which would
> direct the xdoclet engine make such subclass dependency.
not quite sure I  understand what you ask... but if you're talking about
inheritance.   again - check the docs.

cheers
dim


> 
> 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
> 


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

Reply via email to