This page describes an older version of the product. The latest stable version is 16.4.



Download the latest XAP release


  • Unzip the distribution into a working directory; GS_HOME
  • Set the JAVA_HOME environment variable to point to the JDK root directory
  • Start your favorite Java IDE
  • Create a new project
  • Include all jar files from the GS_HOME/lib/required in the classpath


XAP is Maven-friendly - it is built using maven and designed to be easily used by developers constructing XAP applications.

The main dependency required to use XAP is xap-openspaces


Since XAP artifacts are currently not published in Maven Central Repo, you’ll also need to configure a repository:



There are two examples provided with the Open Source distribution. You can find them under the <XAP root>/examples directory. The examples are also available on github(see links below).

Hello World
The Hello World example demonstrates how to perform basic Space operations - e.g. writing and reading an Object from the data-grid. This example also covers different deployment modes: embedded, remote and partitioned.

Hola Mundo
This example builds on the previous example, introducing the concepts of event-processing using a Processing Unit. This example also demonstrates how to run with the IDE.


You can download all examples presented here from . Feel free to clone, fork and contribute to the tutorial code.