|About Pivotal GemFire User's Guide / Getting Started with Pivotal GemFire|
The GemFire examples are included in the distribution that contains your GemFire software. Set up your environment to run these examples as described in this section.
After you download Pivotal GemFire, you can run the examples to explore GemFire's feature set and evaluate the software.
In the example class directories, replace <InstallDirectory> with the directory that contains your GemFire product installation. For example:
CLASSPATH=$CLASSPATH:\ $GEMFIRE/SampleCode/tutorial/classes:\ $GEMFIRE/SampleCode/helloworld/classes:\ $GEMFIRE/SampleCode/quickstart/classes:\ $GEMFIRE/SampleCode/examples/dist/classes: export CLASSPATH
set CLASSPATH=%CLASSPATH%;%GEMFIRE%\tutorial\classes;^ %CLASSPATH%\SampleCode\helloworld\classes;^ %CLASSPATH%\SampleCode\quickstart\classes;^ %CLASSPATH%\SampleCode\examples\dist\classes
The following examples are included in the SampleCode directory from your GemFire product download.
|Example||Example Code Location||Documentation Location|
A simple demonstration of GemFire data distribution.
|SampleCode/helloworld||Pivotal GemFire User's Guide: Hello World Example|
Pivotal GemFire Tutorial
A guided tour of Pivotal GemFire's core features.
|SampleCode/tutorial||Pivotal GemFire User's Guide: Pivotal GemFire Tutorial|
Demonstrates the following GemFire features:
|SampleCode/quickstart||Pivotal GemFire User's Guide:QuickStart Examples|
The following examples demonstrate how to write applications using the Pivotal GemFire Java API:
Documentation for the Programming Examples is available in the following files in the SampleCode directory of your GemFire download:
(Each example subdirectory contains a README.html file with the documentaiton for that example.)
The following examples demonstrate how to deploy GemFire applications into an OSGi environment: