// Make the object key template
int serverid = ((ORB)getORB()).getTransientServerId();
int scid = ORBConstants.TOA_SCID ;
ObjectKeyTemplate oktemp = new JIDLObjectKeyTemplate( orb, scid, serverid ) ;
// REVISIT - POA specific
Policies policies = Policies.defaultPolicies;
// REVISIT - absorb codebase into a policy
initializeTemplate( oktemp, true,
policies,
codebase,
null, // manager id
oktemp.getObjectAdapterId()
) ;
}