This illustration demonstrates how to map the logical name of the jdbc/OrderDB database defined in the <res-ref-name> element to the DataSource JNDI name in the <resource-ref-mapping> element in the OC4J-specific deployment descriptor.