RMIScheduler.javaAPI DocExample757Tue Jan 20 22:05:48 GMT 1998dcj.examples.dbase


public class RMIScheduler extends Object
Source code from "Java Distributed Computing", by Jim Farley. Class: RMIScheduler Example: 7-12 Description: An agent that uses the RMI-based database objects.

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] argv)

    System.setSecurityManager(new RMISecurityManager());
    try {
      RMISchedDbase dbase =
      Vector resources = dbase.getAllResources();
      System.out.println("Got " + resources.size() + " resources.");
    catch (Exception e) {
      System.out.println("Exception: " + e);