This illustration shows the 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>jdbc/OrderDB</res-ref-name>
<res-type>javax.sql.DataSource</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="jdbc/OrderDB" location="test/OrderDataSource"/>
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.