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

The open source
grid computing
solution

 Home   About   Features   Download   Documentation   Forums 

Custom MBeans demo

What does the sample do?

This samples illustrates the implementation of custom MBeans for a JPPF server and node. Each MBean simply retrieves the number of processors available to the JVM it is running in.

How do I run it?

Before running this sample application, 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/CustomMBeans
  2. build the sample: type "ant jar"; this will create a file named CustomMBeans.jar
  3. copy CustomMBeans.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 custom MBean code from the server.
  4. start the driver and node
  5. in the sample's command prompt, type "ant run" to run the sample
  6. you should see the following display:
      [echo] Testing the custom server MBean
      [java] The server has 8 available processors
      [echo] Testing the custom node MBean
      [java] The node has 8 available processors

What features of JPPF are demonstrated?

Pluggable management beans for JPPF nodes and servers.
For a detailed explanation, please refer to the related documentation in the Pluggable MBeans 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-2017 JPPF.org Get JPPF at SourceForge.net. Fast, secure and Free Open Source software downloads