
Starting the registry on win32 use "start rmiregistry" on unix it is
"rmiregistry&"

This starts the registry listening to port 1099.

To start it listening on another port: (say 2005)
win32 "start rmiregistry 2005"
unix "rmiregistry 2005 &"

---- problems (1.1)
1. localhost does not work.
2. must have an active TCP/IP connection running.

--- solutions (1.2)
Naming.bind("PerfectTime",pTime) should connect to local host.

---
Even though main exits, your object will remain live untill Naming.unbind().

---
If bind returns an AlreadyBoundException, you can use a rebind() instead.

---
If your program is the only one, you can start the registry with
	LocateRegistry.creasteRegistry();
	// with (2005) if that is the port you want.



================================
This is not enough, we need stubs and skeletons. This is done by the rmic
tool. [rmic is particular about classpaths. If it is package b, it must
be involked with rmic b.PerfectTime. [But we have no package here??]

rmic PerfectTime 
produces PerfectTime_Stub.class and PerfectTime_Skel.class

=== 
Next we create a client DisplayPerfectTime.java note the matching
lookup to the bind.
