Java Servlet Programming, 2nd Edition > C. Deployment Descriptor DTD Reference > <resource-ref > |
Synopsis<!ELEMENT resource-ref (description?, res-ref-name, res-type, res-auth)> DescriptionThe <resource-ref> element contains a declaration of a web application's reference to an external resource, such as an Enterprise JavaBeans component or a JDBC DataSource object. <resource-ref> <description>Primary database</description> <res-ref-name>jdbc/primaryDB</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>CONTAINER</res-auth> </resource-ref>
|