JDBC-enabled applications running on z/OS must be able to find the CA IDMS Server executable files, which include both Java classes and native DLLs. The PATH, LIBPATH, and CLASSPATH environment variables provide this information.
JDBC-enabled applets and applications running on other platforms need only the JDBC driver. The native DLLs are not used on the remote system. The JDBC Driver, idmsjdbc.jar, can be downloaded from the web server with the applet, or can be installed in a directory named in the CLASSPATH environment variable on the remote system.
Note: For more information, see the chapter "Using the Java Client."
You can specify settings used by the JDBC driver and JDBC server in the caidms.properties file, which has the same format on all platforms. This includes many settings in the Options section, and all settings in the Proxy section. Options used by the native libraries must be specified in the configuration file. See the appendix "Properties File Information" for more information.
For an applet to use the JDBC driver, the classes must be accessible to web pages accessed from the web server. These classes are installed in a standard Java archive file, idmsjdbc.jar. The subdirectory containing this file should be defined to the web server. For the IBM HTTP Server, an entry similar to the following can be added to the httpd.conf file:
pass /idmsdir /idmsdir/lib
Note: For more information about setting the required environment variables and defining data sources, see the chapter "Configuring the Client on z/OS." For information about the URL format, DriverPropertyInfo objects, and DataSource objects used by the JDBC driver, see the chapter "JDBC Programmer Reference."
|
Copyright © 2009 CA.
All rights reserved.
|
|