Creating data sources
- Last Updated: August 27, 2024
- 1 minute read
- DataDirect Connectors
- JDBC
- Oracle Eloqua 6.0
- Documentation
The following example files provide details on creating and using Progress
DataDirect data sources with the Java Naming Directory Interface (JNDI), where install_dir is the product
installation directory.
- install_dir/Examples/JNDI/JNDI_LDAP_Example.java can be used to
create a JDBC
DataSourceand save it in your LDAP directory using the JNDI Provider for LDAP. - install_dir/Examples/JNDI/JNDI_FILESYSTEM_Example.java can be used
to create a JDBC
DataSourceand save it in your local file system using the File System JNDI Provider.
To connect using a JNDI DataSource, the
driver needs to access a JNDI data store to persist the data source information. For a JNDI
file system implementation, you must download the File System Service Provider from the Oracle Technology Network Java SE Support downloads
page, unzip the files to an appropriate location, and add the fscontext.jar and providerutil.jar files to your class path. These steps are not required for LDAP
implementations because the LDAP Service Provider is included with supported versions of Java
SE.