Simple scenario

In the simplest scenario, the main program of the server implementation contains an instantiation of the implemented object and a call to the Basic Object Adapter notifying it that the implementation is ready:

CORBA::BOA::impl_is_ready();

Then, a client can obtain an object reference to the server by calling the _bind method generated for the interface on the client side, and thus obtain a handle on the object in its own address space. Then it can invoke requests on the server as if it resided in its address space:

  example_object* x = 
  	example_object::_bind("my_example_object", leopard@cs.indiana.edu);
  x->operation_on_object(4,0);

slide: Simple scenario