try
{
ORBInterface.initORB(args, null);
OAInterface.initOA();
ServiceImpl01 serviceImpl1 = new ServiceImpl01(0);
ServiceImpl01 serviceImpl2 = new ServiceImpl01(1);
ServicePOATie servant1 = new ServicePOATie(serviceImpl1);
ServicePOATie servant2 = new ServicePOATie(serviceImpl2);
OAInterface.objectIsReady(servant1);