Applications, application servers, and servlets running on platforms other than Windows or z/OS can use the JDBC driver to communicate with a CA IDMS system. CA IDMS Server need not be installed or configured on these platforms. No native methods are used. The JDBC driver uses TCP/IP to communicate directly with the JDBC server running on Windows or z/OS, or directly to CA IDMS r16 SP2 or later. The JDBC server does not need to run on the application platform.
Configuration settings are specified in the caidms.properties file, because the native configuration file is not available. Trace information can be written to a container managed DataSource log or to a file specified in the properties file.
To use the JDBC driver on other platforms
cd /classes tar -xovf idmsjdbc.tar idmsjdbc.jar
For example, on Windows:
set CLASSPATH=c:\classes;c:\classes\idmsjdbc.jar;%CLASSPATH%
On UNIX:
set CLASSPATH=/classes:/classes/idmsjdbc.jar:$CLASSPATH
Note: J2EE application servers have various ways of defining JDBC drivers and specifying how to access the driver jar file. Consult the documentation provided with the application server for details.
jdbc:idms://hostname/datasource
Note: For more information about the URL format, the Connection Parameters, and IDMS Data Source definition, see the chapter "JDBC Programmer Reference."
|
Copyright © 2009 CA.
All rights reserved.
|
|