Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git] / TAO / orbsvcs / DevGuideExamples / ImplRepo / README
blobcdef0f65b2fd695fbba760e28e89bf6350a81ec2
1 DevGuideExamples/ImplRepo/README
3 This directory contains a CORBA example illustrating use of the TAO
4 Implementation Repository with a simple server (MessengerServer) and
5 a client (MessengerClient).
7 How to Run
8 ----------
10 Start the Implementation Repository (ImplRepo) server:
11 ------------------------------------------------------
12 $TAO_ROOT/orbsvcs/ImplRepo_Service/ImplRepo_Service -o implrepo.ior
14 Register the server's POA name and start-up command with the ImplRepo:
15 ----------------------------------------------------------------------
16 $TAO_ROOT/orbsvcs/ImplRepo_Service/tao_imr -ORBInitRef \
17   ImplRepoService=file://implrepo.ior add MessengerService \
18   -c "MessengerServer -ORBUseIMR 1 -ORBInitRef ImplRepoService=file://implrepo.ior"
20 Generate an IMRified Object Reference for the MessengerService:
21 ---------------------------------------------------------------
22 $TAO_ROOT/orbsvcs/ImplRepo_Service/tao_imr -ORBInitRef \
23   ImplRepoService=file://implrepo.ior ior MessengerService -f Messenger.ior
25 Run the client (ImplRepo should automatically start the server):
26 ----------------------------------------------------------------
27 ./MessengerClient