Resource Env Refs
Web Application WAR file -> Resource Env Refs tabbed pane
In the Resource Environment References tabbed pane, you can add to and edit the list of JMS
destinations referenced by this WAR file.
To add a reference:
- Click the Add button.
- Enter the name of the JMS reference as it appears in your code. For example, if the JNDI
lookup of the destination is java:comp/env/jms/stockInfoQueue, enter jms/stockInfoQueue
in the Coded Name column.
- Choose the type of JMS destination, either javax.jms.Queue or javax.jms.Topic,
from the Type column.
- Click the rightmost column labeled with a folded paper to provide a description for each JMS reference.
- For each JMS reference in the list, enter the JNDI name in the JNDI Name field. This is the name you gave
the destination when you created it with the j2eeadmin -addJmsDestination command or the
Destinations dialog box of the Server Configuration screens. A client uses the JNDI name to locate the
destination.
To delete a reference, select the row containing the reference and click the Delete
button. A confirmation dialog
will ask you if you really want to delete the reference.
To edit the:
- Resource environment reference name - Select the name from the Coded Name column and type the new name.
- Type of destination - Select the new type from the drop-down menu in the Type column.
- Description - Click the rightmost column labeled with the folded paper icon.
- JNDI Name - Select the name from the JNDI Name field and type the new name.
Legal Notices