$Id: README 94654 2011-10-07 09:17:20Z msmit $

DevGuideExamples/ImplRepo/README

This directory contains a CORBA example illustrating use of the TAO
Implementation Repository with a simple server (MessengerServer) and
a client (MessengerClient).

How to Run
----------

Start the Implementation Repository (ImplRepo) server:
------------------------------------------------------
$TAO_ROOT/orbsvcs/ImplRepo_Service/ImplRepo_Service -o implrepo.ior

Register the server's POA name and start-up command with the ImplRepo:
----------------------------------------------------------------------
$TAO_ROOT/orbsvcs/ImplRepo_Service/tao_imr -ORBInitRef \
	ImplRepoService=file://implrepo.ior add MessengerService \
	-c "MessengerServer -ORBUseIMR 1 -ORBInitRef ImplRepoService=file://implrepo.ior"

Generate an IMRified Object Reference for the MessengerService:
---------------------------------------------------------------
$TAO_ROOT/orbsvcs/ImplRepo_Service/tao_imr -ORBInitRef \
	ImplRepoService=file://implrepo.ior ior MessengerService -f Messenger.ior

Run the client (ImplRepo should automatically start the server):
----------------------------------------------------------------
./MessengerClient
