Home / Using Java with the InterSystems JDBC Driver / Configuration and Requirements

Using Java with the InterSystems JDBC Driver
Configuration and Requirements
Previous section           Next section
InterSystems: The power behind what matters   

To use the InterSystems JDBC driver, you should be familiar with the Java programming language and have some understanding of how Java is configured on your operating system. If you are performing custom configuration of the InterSystems JDBC driver on UNIX®, you should also be familiar with compiling and linking code, writing shell scripts, and other such tasks.
The InterSystems IRIS Java Class Packages
The InterSystems IRIS Java class packages are contained in the following files:
There are separate versions of these files for each supported version of Java, located in subdirectories of <install-dir>/dev/java/lib (for example, <install-dir>/dev/java/lib/JDK18 contains the files for Java 1.8).
You can determine the location of <install-dir> (the InterSystems IRIS root directory) for an instance of InterSystems IRIS by opening the InterSystems terminal in that instance and issuing the following ObjectScript command:
   write $system.Util.InstallDirectory()
See InterSystems IRIS Installation Directory in the Installation Guide for system-specific information on the location of <install-dir>. For supported Java releases, see “Supported Java Technologies” in the online InterSystems Supported Platforms document.
Client-Server Configuration
The Java client and InterSystems IRIS server may reside on the same physical machine or they may be located on different machines. Only the InterSystems IRIS server machine requires a copy of InterSystems IRIS; client applications do not require a local copy.
Java Client Requirements
The InterSystems IRIS Java client requires a supported version of the Java JDK. Client applications do not require a local copy of InterSystems IRIS.
The online InterSystems Supported Platforms document for this release specifies the current requirements for all Java-based client applications:
The core component of the Java binding is a file named intersystems-jdbc-3.0.0.jar, which contains the Java classes that provide the connection and caching mechanisms for communication with the InterSystems IRIS server and JDBC connectivity. Client applications do not require a local copy of InterSystems IRIS, but the intersystems-jdbc-3.0.0.jar file must be on the class path of the application when compiling or using Java proxy classes. See The InterSystems IRIS Java Class Packages for more information on these files.
InterSystems IRIS Server Configuration
Every Java client that wishes to connect to an InterSystems IRIS server needs a URL that provides the server IP address, TCP port number, and InterSystems IRIS namespace, plus a username and password.
To run a Java or JDBC client application, make sure that your installation meets the following requirements:

Previous section           Next section
Send us comments on this page
View this book as PDF   |  Download all PDFs
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA
Content Date/Time: 2019-07-18 06:47:29