Java Remote Interface for Rrdtool How run the rrdService ? 1. Create a directory RrdService in your http server where you want run the rrdService. 2. Copy all the subdirectories of the class directory the log directory with the files ConfigRrdService.ini and LaunchRrdService.bat in the directoy RrdService. 3. Now configure the rrdService with the config file call ConfigRrdService.ini. The field service url specify the url where you are copy the class. (here: //localhost/RrdService) The field service port specify the port you want to use to access the service. The field mount library specify where you want stock the round robin database. The filed time zone is the time zone you want to use to synchronize your clients. 4. Before running you must run RmiRegistry.bat to start the naming service. 5. Finally, launch le .bat LaunchrrdService. How to write your fisrt client ? 1. Now write your first rrdService client to use it. Your client program must extends the class RoundRobinServiceClient and implements Exetuable. For more information see the doc. Example: import rrdService.client.*; import rrdService.service.*; import rrdService.util.*; public class MyClient extends RoundRobinServiceClient, implements Executable { public MyClient(String rrdServiceURL, int rrdServicePort, String rrdServiceHttpPath) throws Exception { super(rrdServiceURL, rrdServicePort, rrdServiceHttpPath); RoundRobinLibraryItf homeLibrary = rrdService.getServiceMountLibrary(); homeLibrary.createRoundRobinDataBase(..... ........ } ..... public void main(String argv[]) { try { new MyClient(argv[0], Integer.parseInt(argv[1]), argv[2]); } catch(Exception e) { e.printStackTrace(); } } } 2. After generating the class MyClient.class put it on your httpServer. Now copy on your client the the jar file remoteLaunch and execute the command line following: java -cp .\remoteLaunch.jar remoteLaunch.Launcher /* http:/// /* /* /* Contact: pellierd@ufrima.imag.fr Copyrigth © Firmenich SA 2001