POA poa = POAHelper.narrow(orb
.resolve_initial_references("RootPOA"));
poa.the_POAManager().activate();
// get the root naming context
org.omg.CORBA.Object objRef = orb
.resolve_initial_references("NameService");
// Use NamingContextExt which is part of the Interoperable
// Naming Service (INS) specification.
NamingContextExt ncRef = NamingContextExtHelper.narrow(objRef);
DomainParticipantFactoryImpl impl = new DomainParticipantFactoryImpl(