Developer Guide


This guide introduces the key concepts for building InsightEdge and XAP applications. The topics in this guide span installation, tutorials, the XAP API, Processing Unit, web application support, Space replication, platform interoperability and security.


POJO Support
XAP POJO support allows you to use JavaBean classes as space domain classes, and perform space operations using these objects. POJO domain Classes should follow rules similar to the ones defined by JPA, Hibernate and other domain class frameworks.

Space Document
The XAP document API exposes the space as Document Store. A document, which is represented by the class SpaceDocument, is essentially collection of key-value pairs.

XAP Data Modeling
Modeling your objects that are used to interact with the space.

The Space Interface
In this section we will show you how to create and configure a Space and how to interact with it with the Space API.

Querying the Space
This section explains the various mechanisms offered by GigaSpaces XAP to query the space for data.

Indexing
To improve performance, it is possible to index one or more properties.

Transactions
Transaction concept and API.

Space Persistency
XAP provides advanced persistency capabilities for the space architecture.

Other Data Access APIs
XAP promotes openness and interoperability, supporting common interfaces for accessing data, such as JPA, Document, SQL, JDBC, Memcached and a native POJO based API.

Client-Side Caching
XAP supports client side caching of space data within the client application’s JVM.

Task Execution
Task executors allow you to easily execute grid-wide tasks on the space using the XAP API.

Event Processing
Event processing on top of the space.

Space-Based Remoting
Remoting allows you to use remote invocations of POJO services, with the space as the transport layer.

Mule ESB Integration
XAP support for Mule ESB.

Admin API
The Admin API provides a way to administer and monitor all of XAP services and components using a simple API.

The Processing Unit
The Processing Unit is the unit of packaging and deployment in the GigaSpaces XAP platform. This section describes its directory structure, deployment descriptor and SLA definition and configuration.

Elastic Processing Unit
How to deploy and manage an Elastic Processing Unit (EPU).

Web Application Support
XAP’s integration with the Service Grid allows you to deploy web applications (packaged as a WAR file) onto the Service Grid.

HTTP Session Sharing
HTTP Session Sharing allows transparent session replication between remote sites and session sharing between different application servers in real-time. The solution uses the Shiro Session Manager library

Space Replication
Multiple space replication is the ability to replicate state between different deployed spaces, i.e different cluster of space instances.

Multi-Site LAN Replication
Describes how to replicate state and establish data synchronization between multiple spaces that have direct network communication between them.

Multi-Site WAN Replication
Describes how to replicate state between different deployed spaces and synchronize data, where each space may be also physically located in a different geographical location.

Platform Interoperability
The possibility for organizations whose projects include a combination of Java, .NET and other platforms to communicate and access each other easily and efficiently while also maintaining the benefits of the XAP scale-out application server.

InsightEdge APIs
Description of APIs that are part of the InsightEdge engine.