This illustration shows an example of the <resource-ref> element, as follows:
<resource-ref> <res-ref-name>jdbc/OrderDB</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Application</res-auth> </resource-ref>