4 ______________________________________________________________________________
5 This example been taken from the book "Advanced CORBA Programming with C++"
6 by Michi Henning and Steve Vinoski. Copyright 1999. Addison-Wesley, Reading,
7 MA. To make the examples work with TAO, some minor modifications to the
8 source code have been made, with permission, by Mike Moran <mm4@cs.wustl.edu>.
9 All of these changes are documented in the file CHANGES, in this directory.
10 ______________________________________________________________________________
14 This example adds the use of the Naming Service to the climate control
18 This example must be built with native C++ exceptions, and with an ACE/TAO
19 build with exceptions. Make sure to use TAO_FLAG Ge=0 to ensure that the
20 IDL generated code uses c++ exceptions rather than creating
21 CORBA_Environment variables.
23 With GNU make, simply type
25 to create the executable server and client.
27 Also, make sure that the Naming Service executable has been built at
28 $TAO_ROOT/orbsvcs/Naming_Service/Naming_Service.
31 The server takes no parameters nor command line options and registers the
32 controller object with the naming service. The server then waits
33 infinitely for clients requests.
36 The client gets reference to the controller through the naming service,
37 makes several remote calls on this controller, and terminates.
40 The script starts up a new Naming Service, starts thc server and client,
41 and when the client has completed terminates the server and NamingService.
44 Please run the Naming Service first, then run the server program and
45 finally run the client program.