Skip to main content
 
developerworks > Community >  Dashboard > WebSphere eXtreme Scale and DataPower XC10 Appliance Wiki > ... > Community Content > WebSphere eXtreme Scale REST Data Service
developerWorks
Log In   View a printable version of the current page.
Overview New to Forums Wikis
WebSphere eXtreme Scale REST Data Service
Added by TedKirby, last edited by Chris.D.Johnson on Jan 15, 2010  (view change)
Labels: 
(None)

If you log in with your developerWorks ID, you can leave comments and feedback for the development team.

Overview

The WebSphere eXtreme Scale REST Data Service allows HTTP clients, including .NET and AJAX clients, to use and exploit WebSphere eXtreme Scale. .NET applications that use the Open Data Protocol (OData) to access services compatible with Microsoft's WCF Data Service (formerly ADO.NET Data Services) may now be easily modified to use WebSphere eXtreme Scale, and gain its performance, scalability and availability advantages. Existing Visual Studio tooling is used to modify the data service URL to point to this new service.

With the release of WebSphere eXtreme Scale 7.0.0.0 cumulative fix 2, the REST Data Service is available as a fully supported feature set included with the product.

The WebSphere eXtreme Scale REST data service interface offers some powerful functionality:

  • Microsoft WCF Data Services client library compatibility - Microsoft Visual Studio 2008 SP1 can be used to build applications using C#, Visual Basic and C++ programming languages on Windows and Silverlight platforms.
  • Standard web technology support such as HTTP, Atom Publishing Protocol (AtomPub) and JSON - Allows a wide variety of client platforms to interact with the REST data service, such as PHP.
  • Support for popular Java EE web servers such as: IBM WebSphere Application Server, Websphere Application Server Community Edition and Apache Tomcat
  • Common data access operations - Create, Read, Update, Merge, Delete and Query operation support provide the basics for interacting with the eXtreme Scale grid.
  • Batch support - Clients can update and retrieve data from the REST data service using a single remote procedure call to the REST data service, allowing multiple requests to participate in a single transaction.
  • Partition support for entity relationships - The REST data service can realize the full scalability of the eXtreme Scale grid by partitioning the data and using key relationships between entities to identify partitionable schema root entities.
  • The REST data service schema is modeled using EntityManager API entities - Entities are automatically mapped to a Entity Data Model (EDMX) allowing relationships and Java to EDM type mapping.

See the product announcement page for an overview and more details on the REST data service.

  How To...
 

Install

  1. Download the WebSphere eXtreme Scale version 7.0 trial. The REST data service is packaged within this trial. You may use the REST data service with the trial version, or a product version of WebSphere eXtreme Scale version 7.0 you have.
  2. Alternatively, install or apply WebSphere eXtreme Scale version 7.0 cumulative fix 2 to an existing eXtreme Scale install
  3. Extract the trial zip file to your hard drive, for example: c:\extremescale.
  4. Read the REST data service user guide, which includes detailed installation instructions.
  5. Visit the WebSphere eXtreme Scale Wiki for additional hints, tips and troubleshooting.
  6. Use the WebSphere eXtreme Scale Forum for questions and feedback.

Getting Started

Installation is only the first step. The WebSphere eXtreme Scale REST data service ships with a getting started directory which contains a sample application that facilitates inserting data into the Northwind data model we use for the remaining samples and documentation. This client does not directly use the REST data service, but can be used to insert and retrieve data which can then be used by the remaining samples. Instructions are provided for running the sample in WebSphere Application Server and Tomcat. Source is included, as well as an eclipse project and instructions. See the User Guide in the restservice/docs directory, and READMEs in the gettingstarted directory. This sample client is written in Java.

  Frequently Asked Questions (FAQ)
 

We have collected common questions and pitfalls on the WebSphere eXtreme Scale REST data service FAQ

  Samples
 

.NET Simple Data client

Similar to the Java getting started sample, a sample written in C# has been provided. This sample illustrates how to use the ADO.NET data services interface to its full potential. Included is the C# source and a binary executable. This sample is intended to be utilized within a Visual Studio 2008 SP1 development environment.

Source - DataServices.cs

  Resources
 
Wiki Disclaimer and License
Copyright IBM Corporation 2009,2010,2011. All Rights Reserved.
Docs REST Data Service FAQ (WebSphere eXtreme Scale and DataPower XC10 Appliance Wiki)