Copyright (c) Qusay H. Mahmoud
42
Step 5: write a client….
lCreate and initialize the ORB:
lORB orb = ORB.init(argv, null);
lCreate the root naming context:
lorg.omg.CORBA.Object objRef =
l    orb.resolve_initial_references("NameService");
lNamingContext ncRef =
l   NamingContextHelper.narrow(objRef);
l