2 Replies Latest reply on Dec 29, 2004 5:51 AM by naveen kumar

    XDoclet is not generating Remote Interfaces

    naveen kumar Newbie

      When i try to develop EJB application XDoclet is able to generate Home
      Interface,ejb-jar.xml,jboss.xml but it is not generating Remote Interface,and even it is not showing any errors


      Thanks in advance

        • 1. Re: XDoclet is not generating Remote Interfaces
          Mario Laubscher Newbie

          Have you defined the view-type="both"?

          Here a sample:

          /**
           * @ejb.bean name="ArchiveHandler"
           * display-name="Name for ArchiveHandler"
           * description="Description for ArchiveHandler"
           * jndi-name="ejb/ArchiveHandler"
           * local-jndi-name = "ejb/ArchiveHandlerLocal"
           * type="Stateless"
           * view-type="both"
           *
           *
           * @ejb.ejb-ref ejb-name = "ArchiveWebService"
           * ref-name = "ejb/ArchiveWebServiceLocal"
           * view-type = "local"
           *
           * @jboss.ejb-local-ref ref-name = "ArchiveWebServiceLocal"
           * jndi-name = "ejb/ArchiveWebServiceLocal"
           *
           * @ejb.ejb-ref ejb-name = "AvaloqConnector"
           * ref-name = "ejb/AvaloqConnectorLocal"
           * view-type = "local"
           *
           * @jboss.ejb-local-ref ref-name = "AvaloqConnectorLocal"
           * jndi-name = "ejb/AvaloqConnectorLocal"
           */