policy[0] = rootPOA.create_lifespan_policy(LifespanPolicyValue.TRANSIENT);
policy[1] = rootPOA.create_id_assignment_policy(IdAssignmentPolicyValue.SYSTEM_ID);
policy[2] = rootPOA.create_servant_retention_policy(ServantRetentionPolicyValue.RETAIN);
POA nameServicePOA = rootPOA.create_POA("TNameService", null, policy);
nameServicePOA.the_POAManager().activate();
// create our initial context, and register that with the ORB as the name service
initialContext = new TransientNamingContext(orb, nameServicePOA);
org.omg.CORBA.Object context = initialContext.getRootContext();
Method method =