<?xml version="1.0"?>
<!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>
   <display-name>JRMP Custom Socket Tests</display-name>
   <enterprise-beans>

      <entity>
         <description>a simple bean managed entity bean</description>
         <ejb-name>SimpleBMP</ejb-name>
         <home>org.jboss.test.invokers.interfaces.SimpleBMPHome</home>
         <remote>org.jboss.test.invokers.interfaces.SimpleBMP</remote>
         <ejb-class>org.jboss.test.invokers.ejb.SimpleBMPBean</ejb-class>
         <persistence-type>Bean</persistence-type>
         <prim-key-class>java.lang.Integer</prim-key-class>
         <reentrant>false</reentrant>
      </entity>

      <session>
         <description>A trival echo stateless session bean</description>
         <ejb-name>StatelessSession</ejb-name>
         <home>org.jboss.test.invokers.interfaces.StatelessSessionHome</home>
         <remote>org.jboss.test.invokers.interfaces.StatelessSession</remote>
         <ejb-class>org.jboss.test.invokers.ejb.StatelessSessionBean</ejb-class>
         <session-type>Stateless</session-type>
         <transaction-type>Container</transaction-type>
         <ejb-ref>
            <ejb-ref-name>ejb/SimpleBMP</ejb-ref-name>
            <ejb-ref-type>Entity</ejb-ref-type>
            <home>org.jboss.test.invokers.interfaces.SimpleBMPHome</home>
            <remote>org.jboss.test.invokers.interfaces.SimpleBMP</remote>
         </ejb-ref>
      </session>

      <session>
         <description>A trival echo stateless session bean</description>
         <ejb-name>BusinessSession</ejb-name>
         <home>org.jboss.test.invokers.interfaces.BusinessObjectHome</home>
         <remote>org.jboss.test.invokers.interfaces.BusinessObject</remote>
         <local-home>org.jboss.test.invokers.interfaces.BusinessObjectLocalHome</local-home>
         <local>org.jboss.test.invokers.interfaces.BusinessObjectLocal</local>
         <ejb-class>org.jboss.test.invokers.ejb.BusinessBean</ejb-class>
         <session-type>Stateless</session-type>
         <transaction-type>Container</transaction-type>
      </session>

      <message-driven>
         <ejb-name>JMSGatewayMDB</ejb-name>
         <ejb-class>org.jboss.test.invokers.ejb.JMSGatewayMDB</ejb-class>
         <transaction-type>Container</transaction-type>
         <acknowledge-mode>AUTO_ACKNOWLEDGE</acknowledge-mode>
         <message-driven-destination>
            <destination-type>javax.jms.Queue</destination-type>
            <subscription-durability>NonDurable</subscription-durability>
         </message-driven-destination>
         <ejb-local-ref>
            <ejb-ref-name>ejb/BusinessSession</ejb-ref-name>
            <ejb-ref-type>Session</ejb-ref-type>
            <local-home>org.jboss.test.invokers.interfaces.SimpleBMPHome</local-home>
            <local>org.jboss.test.invokers.interfaces.SimpleBMP</local>
            <ejb-link>BusinessSession</ejb-link>
         </ejb-local-ref>
         <resource-ref>
            <description>The reply to jms co</description>
            <res-ref-name>jms/ConnectionFactory</res-ref-name>
            <res-type>javax.jmx.QueueConnectionFactory</res-type>
            <res-auth>Container</res-auth>
         </resource-ref>
      </message-driven>

   </enterprise-beans>

</ejb-jar>
