// Create the test 1 servant and register it with the ORB.
comServant tester = new comServant();
orb.connect(tester);
// Create the test 2 servant and register it with the ORB.
GreetingsServant tester2 = new GreetingsServant();
orb.connect(tester2);
// Storing the IOR references.
IORs [ 0 ] = orb.object_to_string(tester);
IORs [ 1 ] = orb.object_to_string(tester2);