Server Example
The main interaction a server has with the naming service is to create object bindings to advertise objects to clients. The operations most often used are rebind() or bind(), to create object bindings, and bind_new_context(), to create context bindings that hold the object bindings.
However, the operations provided directly by the naming service interface are fairly primitive. In most real-life projects you will find it helpful to build some kind of utility or wrapper around the naming service. In the examples that follow a class NameUtil is defined that provides a more convenient way of accessing the naming service.
One of the things missing from the naming IDL is a way to create multiple components in a single step. For example, ...
Get Pure CORBA now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.