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:
Click Add.
Enter the
, prepended with either jdbc/, mail/,
jms/, env/ or url/ in the Coded Name column.
Select the
from the drop-down menu in the Type column.
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.
Provide a description of each resource in the Description field.
For each resource reference in the list,
enter the JNDI name of the resource factory into the JNDI Name
field.
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.
If you are adding a Mail Session resource:
Enter the return address of the current user in the From field.
Enter the name of the mail server in the Host field.
Enter the name to use when connecting to the mail server in the
User Name field.
To edit the:
Resource reference name - Select the name from the Coded
Name column and type the new name.
Type of resource - Select the new type from the
drop-down menu in the Type column.
Authentication - Choose the type of authentication from the
drop-down menu in the Authentication column.
JNDI Name - Select the name from the JNDI Name field and type
the new name.
User Name or Password - Select the user name from the User Name
field or the password from the Password field and type the new name.
Current User - Select the current user name from the From field
and type the new name.
Mail server - Select the name of the mail server from the Host
field and type the new name.
Name used to connect to the mail server - Select the name used
to connect to the mail server from the User Name field and type the new
name.