Creating a caGrid Data Service Backed by caCORE SDK 4.1.1
This tutorial provides step-by-step instructions for creating a caGrid Data Service which exposes the caCORE SDK 4.1.1 system.
Introduction
caGrid Data Service creation is accomplished by the use of an extension to the Introduce toolkit. This extension can streamline the process of creating a data service backed by the caCORE SDK. This extension uses a wizard-like interface which prompts for values as they are required, or more simply stated - it makes use of a custom query processing back end.
This tutorial is an instructional guide to assist you in creating a caGrid Data Services, and more specifically, provides a detailed set of steps to assist you in creating a service backed by a data source that is created with the caCORE SDK using the Introduce toolkit.
Prerequisites
Install caGrid and deploy a secure Tomcat Container
A working installation of the caGrid software and a secure grid service container are required. Click on the following link to > install caGrid and Configure a Secure Container Using the caGrid 1.4 Installer
caCORE SDK 4.1.1
For this tutorial, the data service wizard will require network access to the installed caCORE SDK 4.1.1 system. In addition, the host name and network port will be required to query that system.
This tutorial requires the availability of a working caCORE SDK 4.1.1 system, which can be one of the following:caCORE SDK Tutorial Files

This is the preferred method for this tutorial, and the following sections of this document will make reference to the items found in this package. If you do not wish to build the caCORE SDK system yourself, a minimal set of artifacts required to complete the tutorial is provided in the caGrid tutorial materials download page.

Once downloaded, the zip file contains the following:
- sdk 4.1** A working caCORE SDK 4.1.1 system, built with the supplied example data model.
- Sdk41Example** The completed tutorial data service based on the included caCORE SDK system.
Local Installation of the caCORE SDK 4.1.1
- Access to a caCORE SDK 4.1.1 installation on the local file system.
- The SDK must be configured to use the example model supplied with the download of the SDK.
- The SDK system has been built and installed.
A comprehensive discussion of installation and configuration of the caCORE SDK is beyond the scope of this tutorial, however the general process works as follows:
- Download caCORE SDK version 4.1.1, available from their release system on NCICB's GForge.

- Create UML model and Data model per the caCORE SDK 4.1 Guides.

- Perform mapping between Object and Data model using UML tag values. The caAdapter tool is commonly used to perform this task.

- Generate a system using SDK by supplying your UML model as input.

The SDK has a sample UML model which you can use to generate a system and subsequently create a grid service with the same model. This is the same model used in the tutorial resources
Steps
Phase 1) Create the Data Service Skeleton
Phase 2) The Data Service caCORE SDK 4.1 Wizard
Phase 3) Deploying the Data Service
Phase 4) Creating a Test Class
Phase 5) Create an Example CQL Query
Phase 6) Executing the Test





