We must now write a
HelloImpl
which extends
HelloPOA
and actually implements the interface, as
well as write a server which:
- Creates and initializes an ORB instance.
- Gets a reference to the root POA and activates the POAManager
- Creates a servant instance (the implementation of one CORBA
Hello object) and tells the ORB about it.
- Gets a CORBA object reference for a naming context in which to
register the new CORBA object.
- Gets the root naming context.
- Registers the new object in the naming context under the name "Hello".
- Waits for invocations of the new object from the client.