ORB orb = ORB.init( args, null );
POA poa = (POA) orb.resolve_initial_references( "RootPOA" );
poa.the_POAManager().activate();
org.omg.CORBA.Object demo = poa.servant_to_reference( new Server( orb ));
PrintWriter pw = new PrintWriter( new FileWriter( args[ 0 ] ));
pw.println( orb.object_to_string( demo ));
pw.flush();
pw.close();
orb.run();
}
catch( Exception e )