What is Caché eXTreme for Java?
Caché eXTreme for Java is a new capability of the InterSystems Caché® database that exposes Caché's enterprise and high-performance features to Java via the JNI (Java Native Interface). It enables “in-process” communication between Java and Caché‚ thereby providing extremely low-latency data storage and retrieval.
Caché eXTreme for Java gives Java developers a Java API (Application Programming Interface) that provides in-process communication for:
- Storing and retrieving relational data via JDBC (JDBC over JNI)
- Storing and retrieving Java objects
- Storing and retrieving multidimensional data

Figure 1: Caché eXTreme for Java Architecture
Because it uses Java standards‚ it is extremely easy for Java developers to learn how to use Caché eXTreme for Java for building or enhancing data-driven Java applications.
Benefits and Uses of Caché eXTreme for Java
Caché eXTreme for Java speeds up database I/O for Java applications. It will be especially beneficial when building or enhancing Java applications that deal with streaming data‚ very high volumes of data‚ or rapidly changing data.
For example‚ most CEP (Complex Event Processing) applications cannot use persistent databases because the latency introduced by storing and retrieving information to/from disk is too great. Instead‚ they typically use in-memory databases‚ and run the risk of losing data or transactions.
But by using Caché eXTreme for Java‚ Java-based CEP applications can persist data without sacrificing performance. Such applications will be less risky because they are more resilient. Also‚ with a persistent data store it will be possible to keep audit trails that can enable compliance with government and industry regulations.
Caché eXTreme for Java is currently being used to build breakthrough applications in a variety of vertical markets including financial services‚ energy management‚ and the aerospace industry.

