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 

Node Connection Events demo

What does the sample do?

This samples illustrates the implementation of a node connection listener for a JPPF server.

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/NodeConnectionEvents
  2. build the sample: type "ant jar"; this will create a file named NodeConnectionEvents.jar
  3. copy NodeConnectionEvents.jar in the "lib" folder of the JPPF driver installation, to add it to the driver's classpath.
  4. start the server, in its console you should see the following message:
    [java] *** MyNodeConnectionListener instance successfully loaded ***
  5. start the node
  6. in the driver console, you should see the following message:
    [java] *** Node host:port is now connected ***
  7. get back to the node's shell console and kill the node (for instance with CTRL+C)
  8. in the driver console, you should now see the following message:
    [java] *** Node host:port is disconnected ***

What features of JPPF are demonstrated?

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