This illustration demonstrates how to map the <resource-ref-name> to the JNDI name using the <resource-ref-mapping> element.