摘要
JSP和Servlet技术为Web应用系统的构建提供了强大的支持。但是,许多开发者常常会忽略掉一些关键的设计原则,开发出难以维护、难以测试的系统。基于分层次的结构,以Java技术为基础,开发控制器构件、值传递构件、用户会话管理构件、格式构件和JSP页面测试驱动构件,最后组装成Web表示层构件。该构件化的开发方法,提高了系统的可复用度,并且可以在较短的时间内组装出符合用户需求的新系统,从而降低了系统的开发成本及升级维护费用,并能增强系统的可测试性和可维护性。为基于Web的应用系统开发提供了新的思路和方法。
JSP and servlet provide powerful support for building web application. Unfortunately, many developers usually ignore some important issues and create web application with poor maintainability and testability. The layering component technologies are discussed and used to construct components ofthe web presentation layer, which are composed ofcontroller component, value transfer component, user session management component, format component and testing component. This method is able to construct new systems rapidly that can satisfy user demands, and to improve the system reusability. In a result, the cost of developing and maintaining system is reduced, and testability, maintainability and reusability are enhanced. A new way is also provided for the development of web application.
出处
《计算机工程与设计》
CSCD
北大核心
2006年第18期3483-3485,共3页
Computer Engineering and Design