XAP Basics


This section provides some hands-on examples to demonstrate the core concepts and APIs of the XAP in-memory data grid. The tutorials are geared toward architects and developers who want to build scaled-out applications with XAP.

Setting up your IDE
Setting up your IDE to work with XAP.

Maven
Installing the XAP Maven plugin, creating and running a Processing Unit project.

XAP in 5 minutes
This tutorial explains how to deploy and use a XAP Data Grid from a Java client application.

Interacting with the Space
In this part of the tutorial we will demonstrate how to create a Space and how you can interact with it. We will also demonstrate how you can improve your space search performance by using indexes and returning partial results.

Deploying a Space
In the previous section you have learned about XAP’s capabilities as a data store. 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.

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

Event-Driven Programming
The Spaces Messaging and Events support provides messaging handlers that simplify event driven programming.

Creating a Processing Unit
The PU is the fundamental unit of deployment in XAP. The PU itself runs within a Processing Unit Container and is deployed onto the Service Grid. Once a PU is deployed, a PU instance is the actual runtime entity.

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

Persist to Database
There are many situations where space data needs to be persisted to permanent storage and retrieved from it.

Deploy a Web App
In this part of the tutorial we will show you how you can deploy a standard WAR file onto the Service Grid.

Security
In this part of the tutorial we will introduce you to XAP security, where it fits in the XAP architecture, which components can be secured, and how to configure and customize the security depending on your application security requirements. XAP Security provides comprehensive support for securing your data and services.

HTTP Session Sharing
In this part of the tutorial we will show you how you can globally share HTTP sessions with XAP.

Multi-Tiered Data Storage (SSD)
This guide describes the general architecture and functionality of this storage model that is leveraging both on-heap, off-heap and SSD implementation, called MemoryXtend.

Unit testing
Creating unit tests for XAP and processing units with different topologies.

Debugging
As part of your development process, you may want to run/debug your processing unit within your IDE.