<?xml version="1.0"?>

<!-- The jboss.xml descriptor for the naming.jar ejb unit -->
<jboss>

    <enterprise-beans>
        <session>
            <ejb-name>ENCBean</ejb-name>
            <ejb-ref>
                <ejb-ref-name>ejb/bean1</ejb-ref-name>
                <jndi-name>jnp://localhost:1099/ENCTests/ejbs/ENCBean1</jndi-name>
            </ejb-ref>
            <ejb-ref>
                <ejb-ref-name>ejb/remote-bean</ejb-ref-name>
                <jndi-name>jnp://banshee:1099/ENCTests/ejbs/RemoteENCBean</jndi-name>
            </ejb-ref>
            <resource-ref>
                <res-ref-name>jdbc/DefaultDS</res-ref-name>
                <resource-name>DefaultDS</resource-name>
            </resource-ref>
            <resource-ref>
                <res-ref-name>mail/DefaultMail</res-ref-name>
                <resource-name>DefaultMail</resource-name>
            </resource-ref>
            <!-- Use the abbreviated form of the mapping -->
            <resource-ref>
                <res-ref-name>jms/QueFactory</res-ref-name>
                <jndi-name>ConnectionFactory</jndi-name>
            </resource-ref>
            <!-- Use the abbreviated form of the mapping -->
            <resource-ref>
                <res-ref-name>url/JBossHomePage</res-ref-name>
                <res-url>http://www.jboss.org/</res-url>
            </resource-ref>
            <resource-ref>
                <res-ref-name>url/SourceforgeHomePage</res-ref-name>
                <resource-name>SourceforgeHomePage</resource-name>
            </resource-ref>

            <resource-env-ref>
                <resource-env-ref-name>res/aQueue</resource-env-ref-name>
                <jndi-name>queue/testQueue</jndi-name>
            </resource-env-ref>

        </session>
        <session>
            <ejb-name>ENCBean1</ejb-name>
            <jndi-name>ENCTests/ejbs/ENCBean1</jndi-name>
        </session>
        <session>
            <ejb-name>ENCBean2</ejb-name>
            <jndi-name>psuedo-url:/ejb/ENCBean2</jndi-name>
        </session>
    </enterprise-beans>

    <resource-managers>
        <resource-manager res-class="">
            <res-name>DefaultDS</res-name>
            <res-jndi-name>java:/DefaultDS</res-jndi-name>
        </resource-manager>
        <resource-manager res-class="">
            <res-name>DefaultMail</res-name>
            <res-jndi-name>java:/Mail</res-jndi-name>
        </resource-manager>
        <resource-manager res-class="java.net.URL">
            <res-name>SourceforgeHomePage</res-name>
            <res-url>http://sourceforge.net/</res-url>
        </resource-manager>
    </resource-managers>
</jboss>
