Sample REST Applications

This section provides examples that illustrate how multiple clients, both REST and native, can access the same Geode region data.

Note:
You must set PDX read-serialized to true when starting the cache server to achieve interoperability between different clients. See Setup and Configuration for instructions on starting up REST-enabled cache servers.

The following examples demonstrate the following:

A Java REST client creates a Person object on key 1. This client references the following supporting examples (also provided):