Resource Environment References Property Editor
 |
Note that this feature might not be included in
your version of the IDE. If it is not available, you can edit the deployment
descriptor (web.xml) file using the editor of your choice.
For more information, see Java Servlet 2.3 Specification available
at http://java.sun.com/products/servlet . |
Use the Resource Environment References property editor to declare a reference
to adminstered objects associated with a resource in the web module's environment.
Each entry of this property corresponds to a <resource-env-ref>
element in the web module's deployment descriptor.
To display the Resource Environment References property editor:
- Click the References pane of the web.xml property sheet.
- Click the Resource Environment References value field to activate the ellipsis
button (...), then click the Ellipsis button.
To declare a Resource Environment Reference:
- In the Resource Environment References property editor, click Add.
- On the Standard tab of the Add Resource Environment Reference dialog box,
supply:
- A Reference Name
- An optional description
- The Type of the reference
- The local interface of the referenced EJB
- The local home of the referenced EJB
- On the J2EE RI tab of the Add Resource Environment Reference dialog box,
supply:
- The JNDI name relative to the
java:comp/env
context. This
name must be unique within the web module.
- Click OK. The new Resource Environment Reference appears in the list in
the Resource Environment References property editor. To edit a reference,
select it in the list, then choose Edit. To delete a reference, select it
in the list, then choose Remove.
- To dismiss the Resource Environment References property editor, click OK.
Legal Notices