In the Resource References page, declare all
referenced in your application client's code.
Click Add to enter the
from your code in the Coded Name column. For example, if the JNDI lookup name of a
DataSource resource is java:comp/env/jdbc/TheDataSource, enter
jdbc/TheDataSource.
Select the
from the drop-down list in the Type column.
Choose Application or Container from the menu in the Authentication column to
indicate whether the authentication of resource users is to be 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 folded-paper icon to enter a description of the resource.
For each resource reference in the list, select the JNDI name of the resource factory
from the
JNDI Name drop-down list. The JNDI name is used by the client to locate the resource at
runtime.
If you are adding a resource other than a URL,
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.
If you are adding a URL, enter the URL in the URL field.
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.