HTMLReaderHome home =
(HTMLReaderHome)PortableRemoteObject.narrow(objref,
HTMLReaderHome.class);
HTMLReader htmlReader = home.create();
StringBuffer contents = htmlReader.getContents();
System.out.println("The contents of the HTML page follows:\n");
System.out.print(contents);
System.exit(0);