Introduce
From Informatics
introduce is a Grid Service Authoring Toolkit in caGrid.
Given a xsd file you exported from EA, it can generates java codes for caGrid service for you.
You can also use introduce to deploy services to grid servers.
Contents |
Installation/Launching
After installing caGrid, you can use command "ant introduce" in the directory you installed caGrid to launch the introduce toolkit.
Screenshots
This is an example screenshot after created a caGrid Service from xsd file.
Create methods in introduce
Since EA only generates xsd for data types, it won't generate xsd for methods, we'll need to do it manually in introduce.
- Choose Operations tab, press Add,
- Select parameter types on your left in input sub-tab, press Add.
- Select Output sub-tab, double click the return type for this method on your left.
- Press Done.
Generate java code
press the Save botton, java code will be generated.
Deploy caGrid Service
using GUI
if you select CATALINA_HOME as in the snapshot above, the service will be deployed to your Tomcat.
using command line
If you've already deployed using introduce GUI with success as described above, everything should already been setup correctly, and can be deployed using ant. You should be able to call "ant deployTomcat" under your caGrid service project directory, the directory contains build.xml, to deploy the service.