A Java projection for a Caché class is a pure Java class. Within Java code, the projection serves as a proxy for its corresponding Caché class. The Caché class itself remains in the Caché server. Java code uses Java projections together with some helper classes to communicate with Caché classes and objects on the Caché server. The helper classes are in cache.jar
, which is included in a standard Caché installation.
Using Java projections for Caché classes, Java code can do all of the following:
Here is the sequence of events at runtime when Java code uses a proxy object to execute a Caché method:
The Caché classes represented by the Java projections can be either persistent classes that represent Caché data or transient classes that provide services, but store no data.
© 1997-2019 InterSystems Corporation, Cambridge, MA