The RMI example in chapter 20 will not work. How to I fix it?
The National Weather Service changed the format of their Traveler’s Forecast web page slightly. Make the following changes to the file TemperatureServerImpl.java to fix the problem: Line 35 should be changed from String separator = “
“; to String separator = “TAV12”; Line 58 should be changed from while ( !inputLine.equals( “” ) ) { to while ( inputLine.length() > 28 ) { Recompile the file and regenerate your stub file before running the server.