WAS v8.5 > Reference > Command-line utilities

WebSphere eXtreme Scale Liberty profile Airport Sample


Overview

The Airport sample is provided as an introduction to eXtreme Scale installed in the WAS v8.5 Liberty profile environment.

The Liberty profile server runs create, read, update, and delete functions in the WXS grid in milliseconds. The sample shows the time taken to complete any create, read, update, or delete operation is displayed, demonstrating the speed of accessing the grid.


Software Requirements

  1. WebSphere eXtreme Scale v8.5 or later
  2. WebSphere Application Server v8.5 Liberty Profile
  3. Eclipse IDE for Java EE Developers, Indigo or later with the WebSphere Application Server Developer Tools


Create the Airport sample server

  1. Navigate to your Airport sample download directory and copy the entire airportAllInOneServer folder.

    This server contains everything necessary to use the sample.

  2. Paste the airportAllInOneServer to...

      <liberty_installation>/usr/servers


Run the Airport sample server

In a command line, navigate to...

Open a web browser and enter the URL:

The hostname is the host name or IP address of WebSphere Application Server and port is the web server port for your WebSphere Application Server.

Check the console.log file in...

...for the URL where the web application is available.

For example:

Now the server is running and we can access the web application, you are ready to start using the sample. To stop the server after you are done using the sample, run...


Use the sample

After you open the Airport sample in a web browser, we can interact with the grid.

  1. To perform a read operation on an airport already in the grid, enter an airport code (examples: JFK or LAX).

    The dropdown autocomplete feature helps you search for airports already in the grid.

  2. Click Search.

    The information corresponding to the airport code is displayed. You are able to Update or Delete information for this airport.

  3. If we do not see the airport you want in the dropdown, create a grid entry for a new airport. Click...

      Insert New

    Complete the form for airport information and click Insert.

  4. Time taken for each create, read, update, or delete operation is displayed on the bottom of the page.

  5. Search or add another airport at any time.

    You are able to search or add an airport the same way as before, or click any airport in the Search History, and then click Search.


Downloads

Download the sample to run and modify the code. Download airportAgentLibertyWXS.zip for an example agent code with eXtreme Scale data grid with Liberty Profile, plus integration with IBM's mobile Worklight platform. Download airportLibertyWXS.zip for just the sample eXtreme Scale data grid with Liberty Profile code for v8.5.0 only.

airportAgentLibertyWXS.zip 11.4 MB November 7, 2012 Data grid in Liberty Profile with Agent example plus Worklight mobile client sample
airportLibertyWXS.zip 4.07 MB August 9, 2012 Original data grid in the Liberty Profile (v8.5.0 only)