Jalapeño and the Caché Java Binding are Deprecated
Caché provides you with several different options for connecting your Java applications to Caché:
The Java Binding Mechanism: Connects your application's objects directly to object representations of your data (Caché Objects). Removes the need for SQL and cumbersome object-relational mappings.
The Caché JDBC Driver: Provides a standard relational interface to your Caché data. Use the driver together with SQL and the java.sql
Caché eXtreme: A set of APIs that allow Java applications to communicate with Caché using an in-memory connection rather than TCP/IP.
The first two options are appropriate for situations in which you have existing Caché database schemas and perhaps data and you wish to connect them to Java applications. The third option is appropriate for high performance XTP (Extreme Transaction Processing) applications. This tutorial covers the first two of these options. See Using Java with Caché eXtreme
for information on the third option.
The tutorial is divided into two independent parts, one part for each mechanism. Since the parts are independent, they can be completed in any order.
for general Java-related system requirements for using Caché with Java applications.
The tutorial examples and exercises involve a Caché application, the Contact Management application as well as several Java source files. Click here
for instructions for installing the Contact Management application, as well as descriptions of the Java files.