[jboss-user] [Beginners Corner] - Re: Lookup ejb by its COMP_NAME

kanth_seenu do-not-reply at jboss.com
Fri Jul 13 09:46:53 EDT 2007


ejb-jar.xml

 
         <![CDATA[LicenseVerifier]]>

         <ejb-name>LicenseVerifier</ejb-name>

         com.dhyan.nms.server.common.license.interfaces.LicenseVerifierHome
         com.dhyan.nms.server.common.license.interfaces.LicenseVerifier
         <local-home>com.dhyan.nms.server.common.license.interfaces.LicenseVerifierLocalHome</local-home>
         com.dhyan.nms.server.common.license.interfaces.LicenseVerifierLocal
         <ejb-class>com.dhyan.nms.server.common.license.ejb.LicenseVerifierBean</ejb-class>
         <session-type>Stateful</session-type>
         <transaction-type>Container</transaction-type>

        <ejb-local-ref >
            <ejb-ref-name>ejb/LicenseVerifier</ejb-ref-name>
            <ejb-ref-type>Session</ejb-ref-type>
            <local-home>com.dhyan.nms.server.common.license.interfaces.LicenseVerifierLocalHome</local-home>
            com.dhyan.nms.server.common.license.interfaces.LicenseVerifierLocal
            <ejb-link>LicenseVerifier</ejb-link>
         </ejb-local-ref> 

      

jboss.xml

      
         <ejb-name>LicenseVerifier</ejb-name>
         <jndi-name>LicenseVerifier</jndi-name>
         <local-jndi-name>LicenseVerifierLocalHome</local-jndi-name>
         <ejb-local-ref>
            <ejb-ref-name>ejb/LicenseVerifier</ejb-ref-name>
            <local-jndi-name>LicenseVerifier</local-jndi-name>
         </ejb-local-ref> 
        <method-attributes>
        </method-attributes>
      



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063993#4063993

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063993



More information about the jboss-user mailing list