Use the Resource Environment References section to add, remove, and view the web application's resource environment references. Resource environment references contain a declaration of a web application's reference to an administered object associated with a resource in the web application's environment. It consists of an optional description, the resource environment reference name, and an indication of the resource environment reference type expected by the web application code.
To declare an resource environment reference, you must register it in the web.xml file. When you do this, you provide information needed by the server to use the reference.
You open the web.xml Visual Editor from the Projects window by expanding the Web Pages node, then the WEB-INF node, and then double-clicking the web.xml file. Click References at the top of the editor to open the References section, then click the Resource Environment References header to open the Resource Environment References section.
Click Add to define a resource environment reference with the following properties: