Difference between revisions of "Prerequisites & Preliminaries"

From GCube System
Jump to: navigation, search
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Ideally, you would be a decent Java developer and have a good grasp of Web Service concepts and technologies. Throw in some familiarity with a Linux/*nix shell and you should sail through this Primer.
+
Ideally, you would be a decent Java developer and have a good grasp of Web Service concepts and technologies. Throw in some familiarity with a Linux/*nix shell and you should sail through this Primer. Especially, if you have already skimmed through the [[Developer_Guide |Developer's Guide]] to get a rough idea of what gCF can do for you. The viewpoint and style of the Guide are different from this Primer's, and we believe they complement each other well to help you out.
  
If you don't call yourself a decent Java developer...then by all means keep reading, just be prepared for a ''very'' steep learning curve. If instead you are not much versed in Web Service concepts and technologies, then this brief  [http://www.globus.org/toolkit/docs/4.0/common/key/ summary] from the Globus guys is a good starting point, as it is Sotomayor's second [http://gdp.globus.org/gt4-tutorial/multiplehtml/ch01s02.html chapter] of his much-read [http://gdp.globus.org/gt4-tutorial/ GT4 Tutorial].  And remember, this is the kind of topic for which Google remains your best friend (just stay away from the standard specs for a while longer). As to your familiarity with a shell, no worries, you will need only a modicum to begin with. Best of luck.
+
If you don't call yourself a decent Java developer...then by all means keep reading, just be prepared for a ''very'' steep learning curve. If instead you are not much versed in Web Service concepts and technologies, then this brief  [http://www.globus.org/toolkit/docs/4.0/common/key/ summary] from the Globus guys is a good starting point, as it is Sotomayor's [http://gdp.globus.org/gt4-tutorial/multiplehtml/ch01s02.html second chapter] of his much-read [http://gdp.globus.org/gt4-tutorial/ GT4 Tutorial].  And remember, this is the kind of topic for which Google remains your best friend (just stay away from the standard specs for a while longer). As to your familiarity with a shell, no worries, you will need only a modicum to begin with. Best of luck.
  
Coming to the machine, no point in going ahead before having [[https://wiki.gcore.research-infrastructures.eu/gCore-dev/index.php/Installation installed and configured]] gCore not only for administration, but also for building (ANT) and development (JDK5).  
+
Coming to the machine, no point in going ahead before having [[Installation |installed and configured]] gCore, not only for administration but also for building (ANT) and development (JDK5). In particular, double-check that your administrator has set for you the environment variable ''GLOBUS_LOCATION'' to the gCore installation directory by your administrator. If not so, define it [[Administrator_Guide#Configuring the Environment|now]].
Unless you are insanely devoted to your shell, you probably will want a good Java IDE at hand, such as the good old [http://www.eclipse.org/ Eclipse] used below for all the examples. And unless you are playing, you will need some client for at least committing and checking out your code to and fro a Version Control System, preferably a good plugin for your IDE (e.g. [http://subversion.tigris.org/ Subversion] for Eclipse).
+
  
Now you are ready to start. Not by implementing a service though, not yet. First, you need to [https://wiki.gcore.research-infrastructures.eu/gCore-dev/index.php?title=Preliminaries&action=edit setup the environment] within which you will develop all your services.
+
Unless you are insanely devoted to your shell, you will also want a good Java IDE at hand. The Primer's uses the good old [http://www.eclipse.org/ Eclipse] for all the examples. And unless you are playing, you will need some client for at least committing and checking out your code to and from a Version Control System, preferably a good plugin for your IDE (e.g. [http://subversion.tigris.org/ Subversion] for Eclipse).  
 +
 
 +
IDE and shell are your two main development tools. In particular, the overall plan is to:
 +
 
 +
* use the Java IDE for authoring code and configuration, as well as for versioning code;
 +
* use the shell for building and deploying code, as well as for all the other administrative tasks.
 +
 
 +
The idea is now to align them with some initial configuration:
 +
 
 +
* Open a fresh Eclipse Workspace and make sure to associate it with a [[Administrator_Guide#Prerequisites|suitable]] version of the Java 5 compiler. This is the workspace for your gCube services.
 +
* Define an environment variable <code>BUILD_LOCATION</code> and point it precisely to the workspace location. This is the location from which you will build your gCube services.
 +
 
 +
As a result, you code is right below where you build it, no need to jump around.
 +
 
 +
Now you are ready to start.

Latest revision as of 15:29, 14 April 2008

Ideally, you would be a decent Java developer and have a good grasp of Web Service concepts and technologies. Throw in some familiarity with a Linux/*nix shell and you should sail through this Primer. Especially, if you have already skimmed through the Developer's Guide to get a rough idea of what gCF can do for you. The viewpoint and style of the Guide are different from this Primer's, and we believe they complement each other well to help you out.

If you don't call yourself a decent Java developer...then by all means keep reading, just be prepared for a very steep learning curve. If instead you are not much versed in Web Service concepts and technologies, then this brief summary from the Globus guys is a good starting point, as it is Sotomayor's second chapter of his much-read GT4 Tutorial. And remember, this is the kind of topic for which Google remains your best friend (just stay away from the standard specs for a while longer). As to your familiarity with a shell, no worries, you will need only a modicum to begin with. Best of luck.

Coming to the machine, no point in going ahead before having installed and configured gCore, not only for administration but also for building (ANT) and development (JDK5). In particular, double-check that your administrator has set for you the environment variable GLOBUS_LOCATION to the gCore installation directory by your administrator. If not so, define it now.

Unless you are insanely devoted to your shell, you will also want a good Java IDE at hand. The Primer's uses the good old Eclipse for all the examples. And unless you are playing, you will need some client for at least committing and checking out your code to and from a Version Control System, preferably a good plugin for your IDE (e.g. Subversion for Eclipse).

IDE and shell are your two main development tools. In particular, the overall plan is to:

  • use the Java IDE for authoring code and configuration, as well as for versioning code;
  • use the shell for building and deploying code, as well as for all the other administrative tasks.

The idea is now to align them with some initial configuration:

  • Open a fresh Eclipse Workspace and make sure to associate it with a suitable version of the Java 5 compiler. This is the workspace for your gCube services.
  • Define an environment variable BUILD_LOCATION and point it precisely to the workspace location. This is the location from which you will build your gCube services.

As a result, you code is right below where you build it, no need to jump around.

Now you are ready to start.