Resource Env. Refs
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 Add.
-
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 desination, either javax.jms.Queue or
javax.jms.Topic, from the Type column.
-
Click the rightmost column labelled 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 that 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 Delete. 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 labelled with the folded paper icon.
-
JNDI Name -
Select the name from the JNDI Name field and type the
new name.
Copyright 1999-2001 Sun
Microsystems,
Inc. All Rights Reserved.