Object Initialization (Cont.) Here is the code to initialize our object: // Create a HelloWorld Implementation object. HelloWorldImpl hello_world_impl (root_poa.in()); // create an object ID. The string 'HelloWorld' must be // unique for our POA. PortableServer::ObjectId_var hello_world_oid = PortableServer::string_to_ObjectId ("HelloWorld"); // assign the new object ID to our implementation object. try { root_poa->activate_object_with_id (hello_world_oid.in(), &hello_world_impl); } catch (CORBA::SystemException exception) { cerr << "PortableServer::POA::activate_object_with_id"; return -1; }