Building and Packaging
Once everything is ready, we need to build, package and deploy the application. All the jar files under the <GigaSpaces Root>/lib/required directory should be included in your classpath. These include:
In order to deploy the application, we need to deploy each of the three processing units separately. To do this, every processing unit must be deployed to the GSM. Every processing unit is actually a folder or a jar file (whose name is the name of the processing unit later used for deployment) with several subfolders. A typical processing unit directory structure is as follows:
Processing Unit Structure
my-pu -- lib ---- mylib1.jar ---- mylib2.jar -- org ---- mypackage ------- MyClass.class ---- META-INF ------ spring -------- pu.xml As shown above, the processing unit is composed of a lib directory under which all the libraries that the processing unit depends on are located. Under META-INF\spring we can find the pu.xml file, which is a spring XML files that describes the components of the processing unit . Also, directly under the root of the processing unit is our compiled code, with its appropriate package structure. |
![]() |
GigaSpaces.com - Legal Notice - 3rd Party Licenses - Site Map - API Docs - Forum - Downloads - Blog - White Papers - Contact Tech Writing - Gen. by Atlassian Confluence |