Skip to main content
Previous sectionNext section

Java

Interoperate with Java programs.

Background Information

Java is a commonly used programming language and software platform.

Available Tools

Caché Java binding

Enables you to access Caché from Java programs. The Caché Java binding lets Java applications work directly with objects on a Caché server. The binding automatically creates Java proxy classes for the Caché classes you specify. Each proxy class is a pure Java class, containing only standard Java code that provides access to the properties and methods of the corresponding Caché class. See Using Java with Caché.

Availability: All namespaces.

%RunJava class

Provides methods for running Java programs. These methods include:

  • FindJava()

  • JavaHome()

  • RunJava()

  • getCacheDbJarPath()

  • getJDK()

  • And others

Availability: All namespaces.

Caché eXtreme

Enables Caché to be leveraged as a high performance persistence storage engine in XTP (Extreme Transaction Processing) applications. Unlike the standard Caché Java binding, all of the eXTreme APIs provide access to Caché data through an extremely high speed, in-process connection. See Using Java with Caché eXTreme.

Availability: All namespaces.

Generates a Java client class to enable access to the class from Java.

For information on projections, see “Class Projections” in Using Caché Objects and “Adding Projections to a Class” in Using Studio.

Availability: All namespaces.

Ensemble Java Gateway

Enables Ensemble to interoperate with Java components. The Java Gateway can instantiate an external Java object and manipulate it as if it were a native object within Ensemble. See Using the Java Gateway.

Availability: All Ensemble-enabled namespaces.

See Also