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:

  1. Click the Add button.
  2. 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.
  3. Choose the type of JMS destination, either javax.jms.Queue or javax.jms.Topic, from the Type column.
  4. Click the rightmost column labeled with a folded paper to provide a description for each JMS reference.
  5. 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:



Legal Notices