<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC
   "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
   "http://java.sun.com/dtd/ejb-jar_2_0.dtd">

<ejb-jar>
   <description>a.jar Test ENC ejb-jar.xml descriptor</description>
   <enterprise-beans>
      <session>
         <description>Session Bean</description>
         <ejb-name>SessionB</ejb-name>
         <home>org.jboss.test.naming.interfaces.TestEjbLinkHome</home>
         <remote>org.jboss.test.naming.interfaces.TestEjbLink</remote>
         <local-home>org.jboss.test.naming.interfaces.TestEjbLinkLocalHome</local-home>
         <local>org.jboss.test.naming.interfaces.TestEjbLinkLocal</local>

         <ejb-class>org.jboss.test.naming.ejb.TestEjbLinkBean</ejb-class>
         <session-type>Stateless</session-type>
         <transaction-type>Container</transaction-type>
         <ejb-ref>
            <ejb-ref-name>ejb/SessionA</ejb-ref-name>
            <ejb-ref-type>Session</ejb-ref-type>
            <home>org.jboss.test.naming.interfaces.TestEjbLinkHome</home>
            <remote>org.jboss.test.naming.interfaces.TestEjbLink</remote>
            <ejb-link>SessionA</ejb-link>
         </ejb-ref>
         <ejb-ref>
            <ejb-ref-name>ejb/RelativeSessionA</ejb-ref-name>
            <ejb-ref-type>Session</ejb-ref-type>
            <home>org.jboss.test.naming.interfaces.TestEjbLinkHome</home>
            <remote>org.jboss.test.naming.interfaces.TestEjbLink</remote>
            <ejb-link>subdir/naminga.jar#SessionA</ejb-link>
         </ejb-ref>
         <ejb-ref>
            <ejb-ref-name>ejb/NoLinkSessionA</ejb-ref-name>
            <ejb-ref-type>Session</ejb-ref-type>
            <home>org.jboss.test.naming.interfaces.TestEjbLinkHome</home>
            <remote>org.jboss.test.naming.interfaces.TestEjbLink</remote>
         </ejb-ref>

         <ejb-local-ref>
            <ejb-ref-name>ejb/LocalRelativeSessionA</ejb-ref-name>
            <ejb-ref-type>Session</ejb-ref-type>
            <local-home>org.jboss.test.naming.interfaces.TestEjbLinkLocalHome</local-home>
            <local>org.jboss.test.naming.interfaces.TestEjbLinkLocal</local>
            <ejb-link>subdir/naminga.jar#SessionA</ejb-link>
         </ejb-local-ref>
         <ejb-local-ref>
            <ejb-ref-name>ejb/LocalSessionA</ejb-ref-name>
            <ejb-ref-type>Session</ejb-ref-type>
            <local-home>org.jboss.test.naming.interfaces.TestEjbLinkLocalHome</local-home>
            <local>org.jboss.test.naming.interfaces.TestEjbLinkLocal</local>
            <ejb-link>SessionA</ejb-link>
         </ejb-local-ref>
         <ejb-local-ref>
            <ejb-ref-name>ejb/NoLinkLocalSessionA</ejb-ref-name>
            <ejb-ref-type>Session</ejb-ref-type>
            <local-home>org.jboss.test.naming.interfaces.TestEjbLinkLocalHome</local-home>
            <local>org.jboss.test.naming.interfaces.TestEjbLinkLocal</local>
         </ejb-local-ref>

      </session>
   </enterprise-beans>
</ejb-jar>
