Difference between revisions of "Single Port-Type"

From GCube System
Jump to: navigation, search
(From configuration to testing with a single Port-Type)
(Structuring the service code)
Line 8: Line 8:
 
#create a ''org/acme/sample'' folder where to place your source code
 
#create a ''org/acme/sample'' folder where to place your source code
 
#create a ''schema'' folder where to place the remote interface files
 
#create a ''schema'' folder where to place the remote interface files
#copy the share/gcube_tools/build.xml file into your SERVICE folder
+
#copy the ''share/gcube_tools/build.xml'' file into your SERVICE folder
  
 
== Profiling for the infrastructure ==
 
== Profiling for the infrastructure ==

Revision as of 23:03, 21 March 2008

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 by specifying 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