Skip to content

jchen21/gemfire-examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VMware GemFire examples

The examples in this project are showcase features of GemFire and demonstrate their basic usage. For details an all GemFire featues, see our documentation

VMware GemFire Version

Your client code must link against the same or older version (ignoring patch versions) of VMware GemFire as the VMware GemFire server it will connect to.

For compiling against older versions of GemFire you can add the version like this -PgemfireVersion=10.0.+ to your ./gradlew command to specify which VMware GemFire client libraries to link.

Running an example

In order to execute the examples in this project, follow these steps:

  1. Download the version of GemFire that you want to use as the server from Tanzu Network
  2. Unpack the GemFire TAR file and set your GEMFIRE_HOME to point at it. GEMFIRE_HOME will be the top level directory inside the extracted GemFire. If you extracted in /tmp/downloads, GEMFIRE_HOME=/tmp/downloads/vmware-gemfire-10.0.0
  3. Sign up for the GemFire Maven repo and follow the instructions there to set your authentication credentials for the repo in Gradle
  4. You can now run an example with the following gradle targets:
  • build - compiles the example and runs unit tests
  • start - initializes the VMware GemFire cluster
  • run - runs the example Application
  • stop - shuts down the cluster
  • runAll - invokes start, run, stop

The commands you need to run a specific example will be given in the README.md file. Sample usage:

$ ./gradlew :replicated:start
$ ./gradlew :replicated:run
$ ./gradlew :replicated:stop

Catalog of examples

The following sections call out ready-made examples. You may want to start your journey with the VMware GemFire Documentation.

Basics

Intermediate

Advanced

About

This repo provides simple, executable examples to learn about the features of VMware GemFire

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 98.2%
  • Shell 1.8%