Resource environment references are logical names applied to objects that EAServer administers and are accessed by Web applications, application clients, and Enterprise JavaBean (EJB) components.
To add a resource environment reference:
Select web.xml in the WorkSpace Navigator of the Web Application Development perspective.
The web.xml editor opens.
Select the Resource tab of the editor.
The Resource page appears.
Expand Resource Environment References.
Click Add.
A new resource is added to the Resource Environment References list with the default name New ResourceEnvRefx.
Change the default resource environment name in the Name field of the General Information section.
This the partial JNDI name used in servlet and JSP code. Use the prefix jms/ for JMS references. For example, if your code refers to java:comp/env/jms/MyQueue, type jms/MyQueue in the Name field.
Click the arrow in the Type field to open the drop-down list and select one of the following:
To specify the link value, do one of the following:
If the resource type is javax.jms.queue, type the name of a configured queue connection factory.
If the resource type is javax.jms, type the name of a configured topic connection factory.
(Optional) Type a description for the resource in the Description field.
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com