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.
In the Visual Editor, 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:
Element | Description |
---|---|
Resource Name |
Specifies the name of a resource environment reference, such as |
Resource Type |
Specifies the type of a resource environment reference, either |
Description |
Specifies a description, such as |
Related Topics
Developing Applications with NetBeans IDE,
Developing Applications with NetBeans IDE,
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |