This is a simple example of a peer-to-peer application that uses
nested function calls. See the file ../../demo/nested/README for a
description.

Note that since OmniBroker for Java is multi-threaded, you do not need
to explicitly set nested remote method invocation with -ORBnested or
by calling the _nested() function of the ORB. You only need to make
sure that a "thread-per-request" thread model is selected. This can be
done by either passing "-OAthread_per_request" to the initialization
routine of the BOA, or, like in this example, by using the BOA
operation set_thread_model(com.ooc.CORBA.ThreadModel.ThreadPerRequest).

To start this demo under Unix, first run "peer1" with:

CLASSPATH=../../jlib:classes:$CLASSPATH java nested.Peer1

And then "peer2" with:

CLASSPATH=../../jlib:classes:$CLASSPATH java nested.Peer2

Under Windows, use:

set CLASSPATH=..\..\jlib;classes;%CLASSPATH%
java nested.Peer1

And:

set CLASSPATH=..\..\jlib;classes;%CLASSPATH%
java nested.Peer2

If you use the Microsoft Visual J++, use the command "jview" instead
of "java".
