Example 2: A ping server factory

The client part:

    String url= "http://myhost:2001/pingServerFactory";
    factory= (Factory)Manager.lookup(url);
    PingServer server1= factory.makePingServer();
    PingServer server2= factory.makePingServer();
The factory runs on myhost and builds ping servers running also on myhost.

A remote invocation can return a network reference.


- 8 -