Resource References

In the Resource References property page, declare all that your web component references in its code.

To declare a resource factory referenced in the code of your web component:

  1. Click Add.
  2. 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.
  3. Select the from the drop-down list in the Type column.
  4. 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.
  5. Deselect the checkbox in the Sharable column if the connections obtained through the resource factory reference cannot be shared. The default value is Shareable.
  6. You can click the folded paper icon in the rightmost column to enter a description of the resource.
  7. 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.
  8. 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.
  9. If you are adding a URL, 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 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.


Legal Notices