<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.3V2//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_3_2.dtd">

<jboss-web>

   <security-domain>foo</security-domain>
   <context-root>bla</context-root>

   <!-- Resource Environment References -->
   <!--
     For additional resouce-env-ref tags add a merge file called jbossweb-resource-env-ref.xml
   -->

   <!-- Resource references -->
   <!--
     For additional resouce-ref tags add a merge file called jbossweb-resource-ref.xml
   -->

   <resource-ref>
      <res-ref-name>Queue</res-ref-name>
      <jndi-name>queue/A</jndi-name>
   </resource-ref>

   <!-- EJB References -->
   <!--
     For additional ejb-ref tags add a merge file called jbossweb-ejb-ref.xml
   -->
   <ejb-ref>
      <ejb-ref-name>Account</ejb-ref-name>
      <jndi-name>ejb/bank/Account</jndi-name>
   </ejb-ref>

  <!-- EJB Local References -->

   <!--
     For additional ejb-local-ref tags add a merge file called jbossweb-ejb-local-ref.xml
   -->
      <depends>domain:service=myFoo</depends>
</jboss-web>