Hi all.

For certain reasons I want the resulting session bean interface to
extend my own interfaces.
I have tried to make the bean to implement them but still the resulting
XDoclet generated interface does not implement them.
For example I have MyFacadeBean.java with all the tags and everything:

/** 
 * @ejb.bean name="MyFacade" display-name="My Facade"
 *           type="Stateless" transaction-type="Container"
view-type="local"
 *           jndi-name="ejb/MyFacade"
 *  
 * @ejb.transaction type="Required"
 */
public class MyFacadeBean implements SessionBean, MyInterfaces1,
MyInterfaces2{
...
}

The resulting MyFacadeLocal generated by XDoclet will be:

public interface MyFacadeLocal
   extends javax.ejb.EJBLocalObject {
...
}

Maybe it is possible to add the interfaces using the @ejb.interface tag.
Still this is undesirable since it is much preferable that the
implemented interfaces will be declared once, and that's in the
MyFacadeBean.java file.
Does anyone know how to solve this?

Thanks.

Daniel Or



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47&alloc_id808&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to