String ref1 = getServiceConfig(0);
String ref2 = getServiceConfig(1);
org.omg.CORBA.Object obj1 = orb.orb().string_to_object(ref1);
PerfTestInterface d1 = (PerfTestInterface) PerfTestInterfaceHelper.narrow(obj1);
OTSManager.get_current().begin();
d1.work();
org.omg.CORBA.Object obj2 = orb.orb().string_to_object(ref2);
PerfTestInterface d2 = (PerfTestInterface) PerfTestInterfaceHelper.narrow(obj2);
OTSManager.get_current().begin();
d2.work();
// nested commit
OTSManager.get_current().commit(true);
if (isParameterDefined("-commit"))