The VMware Tanzu GemFire REST application interface allows you to immediately access Tanzu GemFire’s data management capabilities in languages other than the natively supported Java language.

You can write REST-enabled client applications for Tanzu GemFire in a variety of languages that use the open and standard HTTP protocol. Examples of these include Ruby, Python, and JavaScript, as well as languages that are already supported such as Java.

When you access Tanzu GemFire through the REST interface, objects are stored in Tanzu GemFire as PdxInstances. A PdxInstance is a light-weight wrapper around PDX serialized bytes. It provides applications with run-time access to fields of a PDX serialized object. This interoperable format allows your Java applications to operate on the same data as your REST applications.

As an added benefit, because Tanzu GemFire’s REST interface stores objects as PdxInstances, you do not need to write corresponding Java classes to translate JSON data (which you must do with other REST interface providers such as Oracle Coherence). For example, consider the use case where a non-Java REST client application (Python or Ruby) performs Tanzu GemFire region operations with JSON data that represents employee data. Since the object is stored in Tanzu GemFire as a PdxInstance that can be automatically mapped to JSON, the user does not need to write a corresponding Employee.java class and also does not need to worry about related issues such as keeping the Employee object in the CLASSPATH.

See Tanzu GemFire PDX Serialization for more information about PDX serialization.

check-circle-line exclamation-circle-line close-line
Scroll to top icon