摘要
研究Web服务器端的工作原理,熟悉套接字(Socket)在网络编程中的应用方法,并讨论如何使用标准的面向对象的分析和设计方法来开发健壮的基于JAVA的Web服务器端应用程序。将统一建模语言UML映射到JAVA应用程序,使用UML用例来理解并描述应用程序需求,根据UML类图和序列图来构建设计框架。使用RationalRose建立并跟踪UML生成品,并生成代码框架。最后利用Java提供的功能强大的应用程序接口(API)库,直接对系统进行快速有效地底层程序开发,完成一个Web服务器的设计,并在此基础上扩展功能,完成代理服务器的设计。
It researches the principle of the web server and introduces the application research, that the socket plays an important role in the network programming. And it discusses how to use the standard object-oriented analysis and design method to develop a robust application program above the web server end based on JAVA. By the mapping of the Unified Modeling Language (UML) to the JAVA application program, it uses the use case in UML to understand and describe the requirement of the application program. It constructs and builds the design fame founding on the class diagram and sequence diagram by UML. By using Rational Rose, the UML resultant can be built and tracked to turn into the code frame. In the end, for utilizing Java to supply the powerful libraries of application programming interface (API) service capacity, it programs directly, quickly, and effectively to finish the design of a Web server. And the expanded function is to finish the design of the proxy server.
出处
《杭州电子工业学院学报》
2003年第4期56-60,共5页
Journal of Hangzhou Institute of Electronic Engineering