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

Full Tutorial


This Tutorial provides a high-level overview of the GigaSpaces XAP platform. Hands on examples are provided to demonstrate the core concepts and API’s. The primary people who can benefit from this tutorial, are architects and developers who wish to build scaled-out applications with GigaSpaces XAP.

Class Model

Throughout this tutorial we will create and use a simple internet payment service application to demonstrate the basic XAP features. The basic concept of our application;

  • Merchants enter into a contract to handle financial transactions using the application.
  • The Merchant will receive a percentage for each transaction.
  • Users will make payments with the online system.

Here is the simplified Class Model:


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

Download and Install XAP

GigaSpaces XAP.NET is packaged as a standard Windows Installer package (.msi file). After you have downloaded the latest version of XAP from the downloads page, start the installation by double-click the msi file, and the installation wizard will pop up and guide you through the installation process.

Once you accept the licence agreement, you will be asked to choose a setup type. Select ‘Complete’ to install all the features in the default path (C:\GigaSpaces\XAP.NET X.x.x). Selecting ‘Custom’ will allow you to customize the installation path, which features will be installed, and more.

Tutorial Trail

Interacting with the Space

This part of the tutorial will introduce you to the space as a data store.

You will learn how to:

  • create a space
  • write objects into the space
  • querying the space
  • indexing objects in space

Learn more

</div>

Deploying a Space

In this part of the tutorial we will show you how you can deploy an In Memory Data Grid (IMDG) that provides scalability and failover.

You will learn how to:

  • start a data grid
  • deploy a data grid
  • interact with the data grid
  • how to use the administration UI

Learn more

</div>

Processing Services

In this part of the tutorial we will introduce you to the different processing services you can run on top of the space.

You will learn how to use:

  • Executor service
  • Remoting service

Learn more

</div>

Events and Messaging

In this part of the tutorial we will introduce you to events and messaging on top of the space.

You will learn how to use:

  • Notify container
  • Polling container

Learn more

</div>

The Processing Unit

In this part of the tutorial we will introduce you the Processing Unit (PU). The PU is the fundamental unit of deployment in GigaSpaces XAP

You will learn how to:

  • create a PU
  • configure the PU
  • deploy a PU
  • how to scale and provide failover

Learn more

</div>

Space Transactions

In this part of the tutorial we will introduce you to the transaction processing capabilities of XAP.

You will learn about:

  • Transaction managers
  • Transaction processing
  • Concurrency
  • Locking

Learn more

</div>

Space Persistence

In this part of the tutorial we will introduce you to space persistency.

You will learn about:

  • Synchronous persistence
  • Asynchronos persistence
  • Persistence Adapter

Learn more

</div>