Hello ,

   Is there possible to use XDoclet and its @ejb:tags without
implementing of the javax.ejb.SessionBean in the class?

   1. I have following interface:
   ------------------------------

   /**
    * Business logic related to managing domains.
    *
    */
   public interface DomainController extends ModifiableDataController
   {
   }


   2. I have following implementation the ejb tags wil be used in:
   ---------------------------------------------------------------

   /**
    * Implementation of DomainController interface to manage domains.
    *
    * @ejb.bean type="Stateless"
    *           name="ejbDomainController"
    *           jndi-name="org.opensubsystems.security.logic.DomainController"
    *           
local-jndi-name="org.opensubsystems.security.logic.DomainController"
    *           
local-business-interface="org.opensubsystems.security.logic.DomainController"
    *           display-name="Domain Controller Implementation"
    *
    * @ejb.home generate="local,remote"
    *
    * @ejb.interface generate="remote"
    *
    */
   public class DomainControllerImpl implements DomainController
   {
      ... code
   }

      If I run XDoclet against DomainControllerImpl, there are not
   generated particular ejb interfaces.
      But if I add javax.ejb.SessionBean to the 'implements' clause,
   it will generate particular files - it means the class definition
   will be following:
   public class DomainControllerImpl implements DomainController, SessionBean
   {
   }
   
   and also there is necessary to add particular ejb stuff:
   - public void ejbActivate() throws EJBException, RemoteException {}
   - public void ejbPassivate() throws EJBException, RemoteException {}
   - public void ejbRemove() throws EJBException,RemoteException {}
   - public void setSessionContext(SessionContext arg0) throws 
EJBException,RemoteException {}

   I want to avoid to add all that stuff and I would like to add just
   particular xdoclet tags.
   Can you help me please, how can I do it?
   

Thank you for your answer,
with best regards,
Julian

mailto:[EMAIL PROTECTED]



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to