JPPF, java, parallel computing, distributed computing, grid computing, parallel, distributed, cluster, grid, cloud, open source, android, .net

The open source
grid computing

 Home   About   Features   Download   Documentation   On Github   Forums 

Startup Classes demo

What does the sample do?

This samples illustrates the implementation of custom startup classes for a JPPF server and node. Startup classes are wrappers around any arbitrary code that is executed at server or node intialization time.

How do I run it?

Before running this sample, you need to install a JPPF server and at least one node.
For information on how to set up a node and server, please refer to the JPPF documentation.
Once you have installed a server and node, perform the following steps:
  1. open a command prompt in JPPF-x.y-samples-pack/StartupClasses
  2. build the sample: type "ant jar"; this will create a file named StartupClasses.jar
  3. copy StartupClasses.jar in the "lib" folder of the JPPF driver installation, to add it to the driver's classpath. This is enough, as the node will download the startup classes code from the server.
  4. start the driver, in the driver console, you should see the following message:
    [java] I'm a driver startup class
  5. start the node, in the node console, you should see the following message:
    [java] I'm a node startup class

What features of JPPF are demonstrated?

Pluggable startup classes for JPPF nodes and servers.
Dynamic code deployment from the server to a node. For a detailed explanation, please refer to the related documentation in the JPPF startup classes section.

I have additional questions and comments, where can I go?

If you need more insight into the code of this demo, you can consult the Java source files located in the CustomMBeans/src folder.

In addition, There are 2 privileged places you can go to:

JPPF Copyright © 2005-2020 Get JPPF at Fast, secure and Free Open Source software downloads