JMS References

In the JMS Destination References dialog box, declare the JMS destinations referenced by the application client.

  1. Click Add to 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.
  2. Choose the type of JMS destination, either Queue or Topic, from the Type column.
  3. You can click the folded paper icon to provide a description for each JMS reference.
  4. 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.
  5. 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.



Copyright 1999-2001 Sun Microsystems, Inc. All Rights Reserved.