JeeWiz Home

 
  
 
Contents  >   3.  Tutorial
 


3.2 Creating a GigaSpaces Project

This section describes how to create a Gigaspace Project.

To begin modelling a Gigaspace System you first need to create a Gigaspace Project. It is best do that this in a brand-new workspace: create a new directory and then start or restart Eclipse using that directory as the workspace.

To add a Gigaspace Project, select

File -> New -> Project

Now select

GigaSystemBuilder Development -> GigaSystemBuilder Project -> Next

This will bring up a 'GigaSpaces Project Creation Wizard'.

Enter the Project Name 'CongestionChargeSystem' and Model Name 'CongestionChargeModel' - overriding the default model name, which is the same as the project name.

We used the default location, so the project is created as a directory in the current Eclipse workspace. Click 'Finish'.

Open out the CongestionChargeSystem icon in the Package Explorer window and you will see this:

The build.xml is the Ant build file used by Jeewiz to generate the GigaSpaces system. You don't need to amend this file to do this tutorial. In fact, the way the JeeWiz generator works, any changes to the generation will be done elsewhere - so in real projects, it shouldn't be necessary to change this file.

The CongestionChargeModel.osm is the model itself. This will define the architecture and design components in the system. From this GigaSystemBuilder will create further Eclipse projects, the code and configuration for the projects, and deployment scripts.

(Don't add a second model into the GigaSpaces Project - it will confuse things horribly.)

The readme.txt file currently contains "This is a GigaSpaces Project" - you can use this as your own documentation of the project.


Copyright (c) 2001-2009 New Technology/enterprise Ltd.