Creating a caGrid Data Service Backed by caCORE SDK 4.1.1
This tutorial walks you through the steps of creating a caGrid Data Service which exposes a 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 using a wizard like interface which prompts for values as required, or simply make use of a custom query processing back end.
Prerequisites
Install caGrid and deploy a secure Tomcat Container
This tutorial is intended to help you learn about creating a caGrid Data Services, and how to create one backed by a data source created with the caCORE SDK using the Introduce toolkit. It requires a working installation of the caGrid software and a secure grid service container. Please install caGrid and Configure a Secure Container Using the caGrid 1.3 Installer
caCORE SDK 4.1.1
For this tutorial, the data service wizard will need network access to the installed caCORE SDK 4.1.1 system, and the host name and network port will be required to query that system.
This tutorial depends on having a working caCORE SDK 4.1.1 system available, which may be one of the following:
caCORE SDK Tutorial Files
| This is the preferred method for this tutorial, and the rest 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 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





