Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When adding a datasource, to expose an RDBMS datasource as a JNDI datasource, click Expose as a JNDI Data Source to display the JNDI fields:

Image RemovedImage Added

Following is a description are descriptions of the JNDI fields:

  • Name: Name of the JNDI datasource that will be visible to others in object look-up
  • Use Data Source Factory: To make the datasource accessible from an external environment, you must use a data source factory. When this option is selected, a reference object will be created with the defined datasource properties. The data source factory will create the datasource instance based on the values of the reference object when accessing the datasource from an external environment. In the datasource configuration, this is set as follows:
    <jndiConfig useDataSourceFactory="true">
  • JNDI Properties: Properties related to the JNDI datasource (such as password). When you select this option, set the following properties:
    • java.naming.factory.initial:  Selects the registry service provider as the initial context
    • java.naming.provider.url: Specifies the location of the registry when the registry is being used as the initial context