Using Java with Caché eXTreme
[Home] [Back] [Next]
InterSystems: The power behind what matters   

Caché eXTreme is a set of technologies that enable Caché to be leveraged as a high performance persistence storage engine optimized for XTP (Extreme Transaction Processing) applications.

Caché eXTreme components include:
The eXTreme APIs are designed for integration with Java platforms such as the following:
Installation and Configuration
This section provides specifies requirements and provides instructions for installing Caché and configuring your environment to use the eXTreme APIs.
Required Environment Variables
In order to run eXTreme applications, the following environment variables must be properly set on all platforms:
Required Files
All eXTreme applications require JAR files cache-jdbc-2.0.0.jar, cache-db-2.0.0.jar, and cache-extreme-2.0.0.jar. 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.
Your CLASSPATH environment variable must include the full paths to these files. Alternately, they can be specified in the Java command line classpath argument.
Configuration for Windows
Configuration for UNIX® and Related Operating Systems
Configuration for Mac OS X
eXTreme Sample Applications
Sample applications are available for all eXTreme APIs. Run the samples with command line argument -h for a list of available command line options. In the following sections, <install-dir> is the full path of your Caché installation directory (see Default Caché Installation Directory for the location of <install-dir> on your system).
XEP Samples
XEP sample files are in <install-dir>/dev/java/samples/extreme/xep/test/. For convenience, these files are also compiled into extremesamples.jar, located in <install-dir>/dev/java/samples. The following sample programs are available:
See the Caché JavaDoc (<install-dir>/dev/java/samples/doc/index.html) for detailed documentation of these programs. Supporting files located in <install-dir>/dev/java/samples/extreme/xep/samples/ provide test data for the sample programs.