resource-ref

Java Servlet Programming, 2nd Edition > C. Deployment Descriptor DTD Reference > <resource-ref >

 
< BACKCONTINUE >
<resource-ref >

Synopsis

<!ELEMENT resource-ref (description?, res-ref-name, res-type, res-auth)>

Description

The <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>


Last updated on 3/20/2003
Java Servlet Programming, 2nd Edition, © 2001 O'Reilly

< BACKCONTINUE >


Java servlet programming
Java Servlet Programming (Java Series)
ISBN: 0596000405
EAN: 2147483647
Year: 2000
Pages: 223

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net