PrintWriter ps = new PrintWriter(new FileOutputStream(new File( args[0] ) + "persistent"));
ps.println( orb.object_to_string( objP ) );
ps.close();
// Setup second server
org.omg.CORBA.Object objT = helloPOATransient.servant_to_reference(new GoodDayImpl("SomewhereT"));
// Use the PrintIOR utility function to extract a transient corbaloc string.
corbalocStr = PrintIOR.printCorbalocIOR (orb, orb.object_to_string(objT));
System.out.println("Server 2 can be reached with:");
System.out.println(" " + corbalocStr + "\n");