The DataPower XC10 Appliance is a great way to get up and running with eXtreme Scale with an all included hardware package. WebSphere Liberty Profile Server is a lightweight Java EE runtime that can be deployed in seconds. With these two efficiently quick solutions, you can have your application accessing the data grid in record time.
This sample is a client that can run in the Liberty Profile and access the XC10 data grid. The sample shows how you can connect, and do basic CRUD operations to the grid. In the sample, you can store strings, but for further use, objects put into the grid as well.
WebSphere® eXtreme Scale helps you develop innovative applications by extending the data caching concept using advanced features in the creation of new classes of high-performance applications. These applications allow for scenarios and configurations that increase operational flexibility. Application types include simple data/database, peer to peer, shared, client/server, real-time data event mining, and ultra-scale data grid.
WebSphere eXtreme Scale for Liberty Profile is a free version of WebSphere eXtreme Scale that allows developers to test applications and data grids on the WebSphere Application Server Liberty Profile. It is ideal for projects that do not warrant the expense of a priced and supported runtime. WebSphere eXtreme Scale V8.5 for Liberty Profile requires the WebSphere Application Server V8.5 Liberty Profile be installed.
Step 1: Start up the Liberty Profile, for even more ways how to do this, visit our friends at WASdev
Liberty Profile jar
java -jar wlp-developers-###.jar
Step 2: Start up eXtreme Scale for Liberty
the eXtreme Scale for liberty jar
java -jar wxs-wlp_###.jar
Step 3: Run the Getting Started Web Sample
Running the GettingStarted sample client
In a command line, navigate to your liberty_installation/bin directory.
To create a server, run the command server.bat create serverName.
server.bat create gettingstarted
Drop in your GettingStartedWebClient.ear into your liberty_installation/usr/serverName/dropins directory.
You must add the eXtreme Scale web feature, servlets, and jsps to the liberty server's server.xml.
in the server.xml:
<!-- Enable features -->
To start the server, run the command server.bat start serverName.
server.bat start gettingstarted
Open a web browser and enter the URL: http://hostname:port/GettingStartedWebClient/ClientServlet
Follow the UI to connect and insert/update/delete/get strings from the grid.