Web Application WAR file -> Resource Refs tabbed pane
In the Resource Ref's tabbed pane, you can edit the list of
that your WAR file references.
To add a resource reference:
Click Add.
Enter the
in the Coded Name column. For example, if the JNDI lookup of a DataSource resource is
java:comp/env/jdbc/TheDataSource, enter jdbc/TheDataSource.
Select the
from the drop-down list in the Type column.
Select either Application or Container from the drop-down list in the Authentication
column to indicate whether authentication of resource users is managed by the application
or the container.
Deselect the checkbox in the Sharable column if the connections obtained through
the resource factory reference cannot be shared. The default value is Shareable.
Click the rightmost column labeled with a folded paper to enter a description of the resource.
For each resource reference in the list, enter the JNDI name of the resource factory into the JNDI Name field.
The JNDI name is used by the client to locate the resource at runtime.
If you are adding a URL, Mail Session, QueueConnectionFactory, TopicConnectionFactory, ConnectionFactory, or
DataSource resource and the resource requires a user name and password, enter them in the User Name
and Password fields. The Pointbase DBMS included with this release does not require a user name
and password.
To edit the:
Reference name - Select the name in the Coded Name column and enter the name of the
resource reference, prepended with either jndi/, jms/, env/, mail/,
or url/.
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 JNDI name from the JNDI Name field and enter 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.
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.