Example: A Web-Based Atmosphere Modeling Tool


In Chapter 25, we developed a class named USatm76 that represents the conditions in the Earth's atmosphere at a given altitude. In this chapter we will use that class and a Java servlet to create a web-based atmosphere modeling tool. The client machine will send an HTTP request along with the altitude and system-of-units inputs to the server, which will then invoke the servlet. The servlet will create a USatm76 object using the client-specified parameters and send the resulting atmospheric conditions back to the client machine. To see the USatm76 class code listing and sample outputs of when the atmosphere modeling tool is run, refer to Chapter 25.



Technical Java. Applications for Science and Engineering
Technical Java: Applications for Science and Engineering
ISBN: 0131018159
EAN: 2147483647
Year: 2003
Pages: 281
Authors: Grant Palmer

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net