Resource environment references are logical names applied to objects administered by EAServer, which can be accessed by Web applications, application clients, and EJB components.
To add or configure a resource environment reference, open the Web Application Properties dialog box.
The Resource Environment References tab configuration is the same for Web applications, application clients, and EJB components.
Adding a resource environment reference
Display the Resource Environment References tab.
Click Add. A reference with default settings is created. Edit the settings as described below.
Editing a resource environment reference
If necessary, display the Resource Environment References tab. Existing references are displayed as a list with one row for each reference.
Edit the reference fields of interest as follows:
Name The partial JNDI name used in servlet and JSP code. Use the prefix jms/ for
JMS reference. For example, if your code refers to java:comp/env/jms/MyQueue,
enter jms/MyQueue
.
Type Choose the type of resource:
javax.jms.Queue for JMS message queues.
java.jms.Topic for JMS message topics.
Link Value If the resource type is javax.jms.Queue, enter the name of a configured queue; if the resource type is javax.jms.Topic, enter the name of a configured topic.
To delete a resource environment reference, click anywhere in the fields for the reference of interest and click Delete.
Copyright © 2005. Sybase Inc. All rights reserved. |