Creating a caGrid Data Service Backed by caCORE SDK 4.0
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 Introduce. It requires the caGrid software and a secure container. Please install caGrid and Configure a Secure Container Using the caGrid 1.3 Installer
caCore SDK 4.0
In order to create a caGrid Data Service for caCORE you will need one of the following. Our tutorial uses the caCORE SDK Tutorial Files.
caCORE SDK Tutorial Files
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 items:
- README.txt
- A document describing the contents of the zip
- caCore4MinimalOutput.zip:
- Contains the 'output' folder resulting from building the caCORE SDK 4.0 using the supplied example uml model, pared down to remove files not required by the data service wizard or runtime
- This may be unpacked and used in the tutorial's "Configuring the Client" step.
- sdkExampleDomainModel.xml:
- The domain model document which represents the caCORE SDK's example object model
- Sdk4Example.zip:
- The completed tutorial service in zip format
- See the enclosed README.FIRST.txt in the unpacked zip for usage instructions
Install the caCORE SDK 4.0
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 (http://gforge.nci.nih.gov/frs/?group_id=148
) - Create UML model and Data model (caCORE SDK 4.0 Developer's Guide
) - Perform mapping between Object and Data model using UML tag values or preferably you can use caAdapter (caAdapter
) - Generate a system using SDK by supplying your UML model as input
Note: The SDK has a sample model which you can use to generate a system and subsequently create a grid service with the same model.
A high-level description of the features and usage of the SDK can be found in the caCORE SDK 4.0 Developer's Guide
.
Steps
Phase 1) Create Data Service Skeleton
Phase 2) The Data Service caCORE SDK 4 Wizard
Phase 3) Deploying the Data Service
Phase 4) Invoking the Grid Data Service
Phase 5) Create an example query
Phase 6) Executing the Test Class





