I'm using XDoclet to generate a remote interface for
an entity EJB. One of my methods throws an EJBException
in the bean class:

/**
 * @ejb.interface-method
 *      view-type="both"
 */
public void setStatusValue(String status) throws EJBException


The XDoclet generated code shows the method as throwing
a RemoteException, but not the EJBException:

  public void setStatusValue( java.lang.String status )
     throws java.rmi.RemoteException;


The generated code is fine in WebLogic but JBoss complains
that the remote method's signature does not match the
corresponding method in the bean.

Can I get XDoclet to include the EJBException (and any other
exceptions that I add) in the remote interface?

Thanks,
Jesse



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to