class hello_client { public static void main( String args[] ) { try{ System.out.println( "Initializing the orb."); org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(); IORHolder ior_holder = new IORHolder(); String iorString = ior_holder.readIORFile( "Hello.ref" ); org.omg.CORBA.Object object = orb.string_to_object( iorString ); Hello hello = HelloHelper.narrow( object ); hello.hello(); } catch ( org.omg.CORBA.SystemException e ) { System.err.println( "System Exception "); System.err.println( e ); } } }