基于Java技术的Web应用程序设计模型比较研究
基于Java技术的Web应用程序设计模型比较研究(中文7000字,英文4200字)
摘要
Servlet技术是用于构建可伸缩Web应用程序的最广泛使用的技术。在这些技术中,有四种使用Java技术开发Web应用程序的设计模型:Model 1,Model2,Struts和JavaServer Faces(JSF)。Model 1使用一系列JSP页面; Model 2采用模型 - 视图 - 控制器模式; Struts是一个采用Model 2设计模型的框架; JSF是一种新技术,支持即用型组件,用于快速Web应用程序开发。不建议将Model 1用于中型和大型应用,因为它会引入维护噩梦。本文通过使用三种不同的设计模型构建三个版本的在线商店应用程序,比较和评估应用程序开发的简易性和三种设计模型(Model 2,Struts和JSF)的性能。
A Comparative Study of Web Application Design Models Using the Java Technologies
Abstract.
The Servlet technology has been the most widely used technology for building scalable Web applications. In the events, there are four design models for developing Web applications using the Java technologies: Model 1, Model2, Struts, and JavaServer Faces (JSF). Model 1 employs a series of JSP pages; Model 2 adopts the Model-View-Controller pattern; Struts is a framework employing the Model 2 design model; and JSF is a new technology that supports ready-to-use components for rapid Web application development. Model 1 is not recommended for medium-sized and large applications as it introduces maintenance nightmare. This paper compares and evaluates the ease of application development and the performance of the three design models (Model 2, Struts, and JSF) by building three versions of an online store application using each of the three design models, respectively. [资料来源:http://www.doc163.com]