br.close();
// and narrow it to HelloWorld.GoodDay
// if this fails, a BAD_PARAM will be thrown
GoodDay goodDay = GoodDayHelper.narrow( obj );
// invoke the operation and print the result
System.out.println( goodDay.hello_simple() );
// invoke the operation again and print the wide string result
System.out.println( "wide string: " +
goodDay.hello_wide( "Hello World, from 1 2 3 0 *&^%$#@!@"));
goodDay.shutdown ();
}
catch( Exception ex )
{
ex.printStackTrace();
}