Java Developers Guide
This guide introduces the key concepts for building XAP applications. The topics in this guide span installation, tutorials, the XAP API, Processing Unit, web application support, Space replication, platform interoperability and security.
This guide provides step by step instructions on how to download and install XAP on different operating systems for the supported languages.
POJO as space object
XAP’s 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.
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.
Modeling your Data
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.
To improve performance, it is possible to index one or more properties.
Transaction concept and API.
XAP provides advanced persistency capabilities for the space architecture.
Other Data Access API’s
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 executors allow you to easily execute grid-wide tasks on the space using the XAP API.
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.
Big Data Integration
XAP integration with Cassandra and MongoDB NoSql data bases.
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.
Global HTTP Session Sharing
Global 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
Multiple space replication is the ability to replicate state between different deployed spaces, i.e different cluster of space instances.
Multi Site Replication
Multiple site replication is the ability to replicate state between different deployed spaces, where each space can be also physically located in a different geographical location (also termed a different deployment site).
The possibility for organizations whose projects include a combination of Java, .NET and C++ platforms to communicate and access each other easily and efficiently while also maintaining the benefits of the XAP scale-out application server.