Web Example

This example demonstrates how to deploy a web application accessing a single Space data-grid.

The AccessSpaceServlet is responsible for retrieving request parameters, creating an instance of type UserData and writing it to the space.

The SpaceContents.jsp displays the contents of all the UserData instances stored in the Space, and renders two input fields, Name and Value for the user to input new values.

BUILD

The example uses maven as its build tool. It comes with a build script that runs maven automatically. Running the build script with no parameters within the current directory will list all the relevant tasks that can be run with this example.

The available commands are:

DEPLOYMENT

In order to deploy the web example onto the Service Grid:

Online Documentation

For more information, lookup 'First Web Application' under http://docs.gigaspaces.com