<?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>
   <enterprise-beans>
      <session>
         <ejb-name>chap2.EchoBean</ejb-name>
         <local-home>org.jboss.book.jmx.ex3.EchoLocalHome</local-home>
         <local>org.jboss.book.jmx.ex3.EchoLocal</local>
         <ejb-class>org.jboss.book.jmx.ex3.EchoBean</ejb-class>
         <session-type>Stateless</session-type>
         <transaction-type>Container</transaction-type>
         <ejb-local-ref>
            <ejb-ref-name>ejb/EchoInfoLocalHome</ejb-ref-name>
            <ejb-ref-type>Entity</ejb-ref-type>
            <local-home>org.jboss.book.jmx.ex3.EchoInfoLocalHome</local-home>
            <local>org.jboss.book.jmx.ex3.EchoInfoLocal</local>
            <ejb-link>Chap2EchoInfoBean</ejb-link>
         </ejb-local-ref>
      </session>
      <entity>
         <ejb-name>Chap2EchoInfoBean</ejb-name>
         <local-home>org.jboss.book.jmx.ex3.EchoInfoLocalHome</local-home>
         <local>org.jboss.book.jmx.ex3.EchoInfoLocal</local>
         <ejb-class>org.jboss.book.jmx.ex3.EchoInfoBean</ejb-class>
         <persistence-type>Container</persistence-type>
         <prim-key-class>java.lang.String</prim-key-class>
         <reentrant>false</reentrant>
         <cmp-version>2.x</cmp-version>
         <abstract-schema-name>EchoInfo</abstract-schema-name>
         <cmp-field>
            <field-name>key</field-name>
         </cmp-field>
         <cmp-field>
            <field-name>info</field-name>
         </cmp-field>
         <primkey-field>key</primkey-field>
      </entity>
   </enterprise-beans>

</ejb-jar>
