This illustration shows the URL resource manager mapping relationship between an EJB Deployment Descriptor and an OC4J-Specific Deployment Descriptor.

The box with the EJB Deployment Descriptor contains the following sample code:

<enterprise-beans>

<resource-ref>
   <res-ref-name>url/testURL</res-ref-name>
   <res-type>java.net.URL</res-type>
   <res-auth>Application</res-auth>
</resource-ref>
</enterprise-beans>

The box with the OC4J-Specific Deployment Descriptor contains the following sample code:

resource-ref-mapping
   name="url/testURL"
      location="http://www.mrURL.com"/>

There is an arrow from the bold line in the EJB Deployment Descriptor example to the first bold line in the OC4J-Specific Deployment Descriptor example.