Difference between revisions of "GCF Primer"

From GCube System
Jump to: navigation, search
(Who should use this tutorial)
 
(68 intermediate revisions by 2 users not shown)
Line 1: Line 1:
# [[gCore Tutorial#Tutorial overview|Tutorial overview]]
+
This Primer gives a gentle introduction to the task of developing gCube services with the gCore Framework. Have a quick look at the prerequisites and make sure you go through the preliminary steps. Then dive in.
## [[gCore Tutorial#Ground rules: preparing the environment|Ground rules: preparing the environment]]
+
## [[gCore Tutorial#Installing gCore|Installing gCore]]
+
# [[Single Port-Type|From configuration to testing with a single Port-Type]]
+
## [[Single Port-Type#Structuring the service code|Structuring the service code]]
+
## [[Single Port-Type#Structuring the service code|Delving into the implementation]]
+
## [[Single Port-Type#Building & Deploying|Building & Deploying]]
+
## [[Single Port-Type#gCore Logging & Restart|gCore Logging & Restart]]
+
## [[Single Port-Type#A Test Client|A Test Client]]
+
## [[Single Port-Type#Refining the implementation|Refining the implementation]]
+
# [[Adding State]]
+
## [[Adding State#Multi Port-Type service|Multi Port-Type service]]
+
## [[Adding State#Basic steps|Basic steps]]
+
## [[Adding State#Implementation|Implementation]]
+
## [[Adding State#Configuring JNDIs & Descriptors|Configuring JNDIs & Descriptors]]
+
## [[Adding State#Building & Deploying|Building & Deploying]]
+
## [[Adding State#A Test Client|A Test Client]]
+
  
== Tutorial overview ==
+
#[[Prerequisites & Preliminaries|First Things First: Prerequisites & Preliminaries]]
This tutorial intends to present gCore and its related software required to design, build, and deploy software that can be effectively used to build complex applications that might be eventually integrated within a gCube infrastructure.
+
#[[The ACME Project|The ACME Project: Organising Structure & Dependencies]]
 +
# [[The Development Cycle|A Quick Tour of Development]]
 +
## [[The Development Cycle#My First Profile|My First Profile]]
 +
## [[The Development Cycle#A Tiny JNDI |A Tiny JNDI]]
 +
## [[The Development Cycle#A PortType Interface|A PortType Interface]]
 +
## [[The Development Cycle#A Simple Implementation|A Simple Implementation]]
 +
## [[The Development Cycle#Building & Deploying|Building & Deploying]]
 +
## [[The Development Cycle#Starting the gHN|Starting the gHN]]
 +
## [[The Development Cycle#A Minimal Client|A Minimal Client]]
 +
# [[Refining the implementation|Refining the Implementation: Faults, Logs, and PortType Contexts]]
 +
## [[Refining the implementation#A Faultful PortType|A Faultful PortType]]
 +
## [[Refining the implementation#Logging it!|Logging it!]]
 +
## [[Refining the implementation#Node & Port-Type Contexts|Node & Port-Type Contexts]]
 +
# [[Adding State|Adding State: Concepts, Patterns, and Standards]]
 +
## [[Adding_State#WS-Resources and The Implied Resource Pattern|WS-Resources and The Implied Resource Pattern]]
 +
## [[Adding_State#WS-Resources and Standard Interfaces|WS-Resources and Standard Interfaces]]
 +
## [[Adding_State#The Lifetime of WS-Resources|The Lifetime of WS-Resources]]
 +
## [[Adding_State#Persistence for WS-Resources|Persistence for WS-Resources]]
 +
## [[Adding_State#Publishing WS-Resources|Publishing WS-Resources]]
 +
# [[Advanced_Topics|Advanced Topics]]
 +
## [[Advanced_Topics#Interfacing_the_Information_System|Interfacing the Information System]]
 +
## [[Advanced_Topics#Interfacing_the_Information_System|Service security]]
 +
# [[Learning more]]
  
=== How this tutorial is organized ===
+
--[[User:Manuele.simi|Manuele.simi]]
The tutorial takes an incremental approach to illustrate all the steps of the service development cycle in relation to a first Port-Type. For simplicity, it assumes the Port-Type to be stateless. Then it introduces the assumption of state, when by enriching the sample service with additional Port-Types.
+
 
+
=== Who should use this tutorial ===
+
gCore Tutorial is dedicated to developers that have an average knowledge of Unix-like OSs and Java, and some experience with Web Service concepts, terminology, and procedures. The purpose of the tutorial is to help them take advantage of the numerous patterns, interfaces, frameworks, and tools offered by the ''gCore framework'' creating well-structured and supported gCube services.
+
 
+
== Ground rules: preparing the environment ==
+
* Exclusively a Java & [U/Li]nix environment
+
** 1.5.0_08+
+
** OS requirements as per underlying Globus
+
* Typically, a Shell + IDE environment
+
** IDE for code configuration & authoring
+
** Shell for code building & deployment
+
** Require both installation & configuration
+
 
+
== Installing gCore ==
+
* through SVN checkout
+
''https://svn.research-infrastructures.eu/gcore/gcore/trunk/GCORE/CONTAINER''
+
* with Etics downloads, Module: org.gcore.gcontainer, for gCube developers
+
''https://grids16.eng.it/BuildReport/''
+
* through command line or IDE plugin alike, e.g. Subversion for Eclipse into a folder of choice (the gCore location)
+
 
+
The official vehicle for notifications is the gCORE Technical Committee mailing list, [mailto:gcore_tc@gcube-system.org gCore_TC].
+
 
+
=== gContainer at a glance ===
+
[[Image:GCore001.png]]
+
 
+
=== Dealing with Globus ===
+
[[Image:GCore002.png|frame|]]
+
 
+
=== GHN Passport ===
+
[[Image:GCore003.png|frame|]]
+

Latest revision as of 13:58, 8 June 2010

This Primer gives a gentle introduction to the task of developing gCube services with the gCore Framework. Have a quick look at the prerequisites and make sure you go through the preliminary steps. Then dive in.

  1. First Things First: Prerequisites & Preliminaries
  2. The ACME Project: Organising Structure & Dependencies
  3. A Quick Tour of Development
    1. My First Profile
    2. A Tiny JNDI
    3. A PortType Interface
    4. A Simple Implementation
    5. Building & Deploying
    6. Starting the gHN
    7. A Minimal Client
  4. Refining the Implementation: Faults, Logs, and PortType Contexts
    1. A Faultful PortType
    2. Logging it!
    3. Node & Port-Type Contexts
  5. Adding State: Concepts, Patterns, and Standards
    1. WS-Resources and The Implied Resource Pattern
    2. WS-Resources and Standard Interfaces
    3. The Lifetime of WS-Resources
    4. Persistence for WS-Resources
    5. Publishing WS-Resources
  6. Advanced Topics
    1. Interfacing the Information System
    2. Service security
  7. Learning more

--Manuele.simi