<?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>CorbaFriendlyExample</ejb-name>
      <home>examples.CorbaFriendlySessionHome</home>
      <remote>examples.CorbaFriendlySession</remote>
      <ejb-class>examples.CorbaFriendlySessionBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Container</transaction-type>
    </session>

  </enterprise-beans>
  
  <assembly-descriptor>

    <security-role>
      <description>
	This role represents everyone who is allowed full access to the bean.
      </description>
      <role-name>everyone</role-name>
    </security-role>

    <method-permission>
      <role-name>everyone</role-name>
      <method>
	<ejb-name>CorbaFriendlyExample</ejb-name>
	<method-name>*</method-name>
      </method>
    </method-permission>
    
    <container-transaction>
      <method>
	<ejb-name>CorbaFriendlyExample</ejb-name>
        <method-name>*</method-name>
      </method>
      <trans-attribute>Required</trans-attribute>
    </container-transaction>

  </assembly-descriptor>

</ejb-jar>
