Single Port-Type

From GCube System
Revision as of 23:01, 21 March 2008 by Manuele.simi (Talk | contribs) (From configuration to testing with a single Port-Type)

Jump to: navigation, search

From configuration to testing with a single Port-Type

Even if not compulsory, we strongly suggest to adopt the Eclipse 3.3 as development platform. In such an IDE, open a new workspace with a Java 1.5 compiler and create a new Java project and select a source folder (named from now on, SERVICE folder) . Then, fill a user-library with all JARs in gCore lib and name it CONTAINERLIB.


Structuring the service code

Prepare the source folder structure as follows:

  1. create a etc folder where to place your configuration file
  2. create a org/acme/sample folder where to place your source code
  3. create a schema folder where to place the remote interface files
  4. copy the share/gcube_tools/build.xml file into your SERVICE folder

Profiling for the infrastructure

Create a new XML file and place it in the SERVICE/etc folder

Delving into the implementation

Building & Deploying

gCore Logging & Restart

A Test Client

Refining the implementation