summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/DevGuideExamples/ImplRepo/README
blob: 99a264e11a9a2690fe356496a4697b9288a1d378 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// $Id$

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