Examples that use GemFire clients.
In this example, a VMware GemFire cache writer is installed that vets the creation events for the region for proper formatting of Social Security numbers.
This is a simple example that demonstrates loading values using a VMware GemFire CacheLoader.
In this example, a VMware GemFire cache listener is installed and notified of each entry creation and then adds it to a queue of events.
This example demonstrates how to set-up and use VMware GemFire’s Session Management Module for Tomcat.
This example demonstrates GemFire support for asynchronous replication between clusters using Delta objects.
This example demonstrates GemFire support for asynchronous replication between clusters.
This is a simple example that demonstrates putting values into a VMware GemFire replicated region, checking the size, and retrieving the values.
This is a simple example that illustrates how to colocate the data of two VMware GemFire regions.
This is example demonstrates putting a map of values into a VMware GemFire region, checking the size, and retrieving the values.
This example demonstrates publishing metrics from GemFire to a monitoring system comprised of Prometheus and Grafana.
This example demonstrates VMware GemFire persistent regions.
This example demonstrates the basic property of partitioning where the data entries are distributed across all VMware GemFire servers that host a region. The distribution is like database sharding, except that the distribution occurs automatically.
In this example, a VMware GemFire server hosts a partitioned region that stores strings. The example shows entry values being overflowed to disk and removed from memory.
This example demonstrates an index for OQL queries on a VMware GemFire region.
These examples demonstrate how to use GemFire’s LuceneSerializer and LuceneQueryProvider APIs to customize how GemFire data is stored and indexed in Lucene.
In this example, two VMware GemFire servers host a single partitioned region with entries that represent employee information. The example indexes the first and last names of employees.
This example starts a GemFire cluster and uses the JSON-related APIs to convert a JSON string into a JsonDocument. The converted JSON strings are stored as region entry values.
The JDBC Connector allows VMware GemFire to connect to external data sources with JDBC.
This example demonstrates the use of VMware GemFire transactions to protect consistency during concurrent access and modification of data.
This example demonstrates putting values into a VMware GemFire replicated region and retrieving the values using the GemFire REST API.
This example demonstrates simple queries on a VMware GemFire region.
This example calculates which integers in the region are prime numbers. The determination of the primes occurs inside the server by way of a VMware GemFire function and the client displays the primes on the console.
Expiration of entries from a VMware GemFire region can be used to prevent stale entries from lingering in a region.
Eviction of entries from a VMware GemFire region allows control over the system resources consumed by any given region.
Durable messaging can be used for subscriptions that you need maintained for your VMware GemFire clients even when your clients are down or disconnected.
Continuous Queries (CQ) allow clients to subscribe to server-side VMware GemFire events using a SQL-like query. When a client registers a CQ, the client will receive all events that modify the query results.
This example demonstrates enabling Compression in a VMware GemFire replicated region.
Demonstrates basic command security and user authentication in a client application backed by a secured GemFire cluster. It also demonstrates use of secure sockets (SSL) between all members and between a client and a server.
This example demonstrates reflection-based auto-serialization to put objects into and get objects out of VMware GemFire regions without relying on Java, PDX, or data serialization.
This is a simple example that demonstrates asynchronous event queues and listeners for VMware GemFire.
A guide to using the GemFire REST API from a Python client.
This example highlights the changes necessary for switching to Spring Boot for VMware GemFire for a Spring Data Redis publish/subscribe app.
Three examples that show how to convert your Spring Session Data Redis app to use Spring Boot for Vmware GemFire.
Demonstrates basic SSL connection of a client with a GemFire Cache cluster. This application leverages the CRUD-ops example, which should be reviewed prior starting.
Provides a simple book-serving app which uses the VMware GemFire data service as a system of record.
Demonstrates the basic authentication and authorization mechanism used when an app interacts with a VMware GemFire cluster.
This example demonstrates use of the Node.js VMware GemFire client with a simple Next.js web app by displaying a count of page renderings.
This is VMware GemFire sample code that uses client.properties file along with client.xml file.
Demonstrates basic SSL connection of a VMware GemFire .NET client with a GemFire cluster. It’s a simple command line program that connects to a region using the cache factory object and does not involve a dependency on Java.
This is VMware GemFire sample code that stores a session state for an ASP.NET app (basically .NET Web App). It’s a simple command line program that connects to a region using a cache factory object and does not involve any dependency on Java.
This is VMware GemFire sample code with minimum functions like put, get and remove from a region on cache server(s). It’s a command line simple program that connects to a region using cache factory object and does not involve any dependency on Java.