Poller.java - example Scheduler client
Client locates object and calls method
public class Poller {
public static void main (String[] args) {
IScheduler scheduler =
(IScheduler) Naming.lookup (args[0]);
String acct = scheduler.nextAccount();
System.out.println (“next acct = “ + acct);
}
Previous slide
Next slide
Back to first slide
View graphic version