<?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>HelloWorld application</description>
   <display-name>HelloWorld</display-name>
   <enterprise-beans>
      <session>
         <display-name>Hello World</display-name>
         <ejb-name>HelloWorld</ejb-name>
         <home>org.jboss.test.hello.interfaces.HelloHome</home>
         <remote>org.jboss.test.hello.interfaces.Hello</remote>
         <ejb-class>org.jboss.test.hello.ejb.HelloBean</ejb-class>
         <session-type>Stateless</session-type>
         <transaction-type>Container</transaction-type>
      </session>

      <session>
         <display-name>Hello World Cached</display-name>
         <ejb-name>HelloWorldCached</ejb-name>
         <home>org.jboss.test.hello.interfaces.HelloHome</home>
         <remote>org.jboss.test.hello.interfaces.Hello</remote>
         <ejb-class>org.jboss.test.hello.ejb.HelloBean</ejb-class>
         <session-type>Stateless</session-type>
         <transaction-type>Container</transaction-type>
      </session>

      <session>
         <display-name>Hello World Via HTTP</display-name>
         <ejb-name>HelloWorldViaHTTP</ejb-name>
         <home>org.jboss.test.hello.interfaces.HelloHome</home>
         <remote>org.jboss.test.hello.interfaces.Hello</remote>
         <ejb-class>org.jboss.test.hello.ejb.HelloBean</ejb-class>
         <session-type>Stateless</session-type>
         <transaction-type>Container</transaction-type>
         <ejb-local-ref>
            <ejb-ref-name>ejb/LocalHelloLogHome</ejb-ref-name>
            <ejb-ref-type>Entity</ejb-ref-type>
            <local-home>org.jboss.test.hello.interfaces.LocalHelloLogHome</local-home>
            <local>org.jboss.test.hello.interfaces.LocalHelloLog</local>
            <ejb-link>HelloLogViaHTTP</ejb-link>
         </ejb-local-ref>
      </session>
      <session>
         <display-name>Hello World Via Clustered HTTP</display-name>
         <ejb-name>HelloWorldViaClusteredHTTP</ejb-name>
         <home>org.jboss.test.hello.interfaces.HelloHome</home>
         <remote>org.jboss.test.hello.interfaces.Hello</remote>
         <ejb-class>org.jboss.test.hello.ejb.HelloBean</ejb-class>
         <session-type>Stateless</session-type>
         <transaction-type>Container</transaction-type>
      </session>

      <entity>
         <ejb-name>HelloLogViaHTTP</ejb-name>
         <home>org.jboss.test.hello.interfaces.HelloLogHome</home>
         <remote>org.jboss.test.hello.interfaces.HelloLog</remote>
         <local-home>org.jboss.test.hello.interfaces.LocalHelloLogHome</local-home>
         <local>org.jboss.test.hello.interfaces.LocalHelloLog</local>
         <ejb-class>org.jboss.test.hello.ejb.HelloLogBean</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>HelloLog</abstract-schema-name>
         <cmp-field>
            <description>The hello method argument</description>
            <field-name>helloArg</field-name>
         </cmp-field>
         <cmp-field>
            <description>The hello method system start time</description>
            <field-name>startTime</field-name>
         </cmp-field>
         <cmp-field>
            <description>The hello method system end time</description>
            <field-name>endTime</field-name>
         </cmp-field>
         <primkey-field>helloArg</primkey-field>
      </entity>
   </enterprise-beans>
</ejb-jar>
