Implementing the Server in C++ (cont’d)
 
 
  Hello_var p = new Hello_impl;
  CORBA_String_var s = orb -> object_to_string(p);
  ofstream out(“Hello.ref”);
  boa -> impl_is_ready(CORBA_ImplementationDef::_nil());
Create an implementation object
- Hello_var is a “smart-pointer”
 
Save a “stringified” object reference
- Creates “stringified” reference
 - Saves to a file