try
{
ORBInterface.initORB(args, null);
OAInterface.initOA();
AITCounterImpl04 aitCounterImpl = new AITCounterImpl04();
CounterPOATie servant = new CounterPOATie(aitCounterImpl);
OAInterface.objectIsReady(servant);
Counter aitCounter = CounterHelper.narrow(OAInterface.corbaReference(servant));