An example of server-server (peer to peer) communication.

* description

This example shows peer to peer communication. Server1 registers
itself as horb://localhost:9441/server1 and waits for connection from
Server2. Server2 also registers itself as
horb://localhost:9442/server2 then calls server1.hi(). server1.hi() connects
to server2 to call server2.hi().

Since mutual reference exists in this example, an interface Server_IF is
used to access each other. Thus class name parameter to registerObject()
is the name of the interface, like:
    HORBServer.registerObject("horb.examples.serverServer.Server_IF", 
				new Server1(), "server1", 0);

Explicit exit() is needed, if you want to terminate a program that
has HORBServer.


* version

Author: HIRANO Satoshi
Versioin: 1.0

* How to compile and run

c:> horbc Peer.java
c:> horbc -c Peer_Impl.java

c:> horb  			(start a HORB server in another window)

c:> java horb.examples.serverServer.Peer_Impl
				(Result is displayed at the server side.)

* Classes

   Peer.java		interface  (to resolve forward reference)
   Peer_Impl.java  	An implementation of Peer
