Resource Refs

In the Resource Refs tabbed pane, you can add to and edit the list of that your enterprise bean references.

To add a resource reference:

  1. Click Add.
  2. Enter the , prepended with either jdbc/, mail/, jms/, env/ or url/ in the Coded Name column.
  3. Select the from the drop-down menu in the Type column.
  4. Choose either Application or Container from the menu in the Authentication column to indicate whether you want the authentication of resource users to be managed by the enterprise bean or the container.
  5. Provide a description of each resource in the Description field.
  6. For each resource reference in the list, enter the JNDI name of the resource factory into the JNDI Name field.
  7. If you are editing a URL, QueueConnectionFactory, TopicConnectionFactory, or ConnectionFactory, resource and the resource requires a user name and password, enter them in the User Name and Password fields. The Cloudscape DBMS included with this release does not require a user name and password.
  8. If you are adding a Mail Session resource:
    1. Enter the return address of the current user in the From field.
    2. Enter the name of the mail server in the Host field.
    3. Enter the name to use when connecting to the mail server in the User Name field.
To edit the:



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