Resource Environment Refs

Enterprise Bean Resource Env Refs tabbed pane

In the Resource Env Refs tabbed pane you can add and edit the list of JMS destinations referenced by this enterprise bean.

To add a reference:

  1. Click Add.
  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 that you gave the destination when you created it in 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:


Legal Notices