摘要
使用Web框架能有效提高Web程序的开发效率、增强程序的可维护性和可扩展性等.结合分层设计的思想和目前一些流行开发框架的特点,给出一种基于SSH+DWR的新型Web框架设计与研究,以面向接口编程方式设计程序的各层,以Struts将表示层与业务层解耦,以Hibernate应用DAO模式将业务层与持久层解耦,以Spring的IOC达到组件之间的松耦合性,还以DWR改善用户界面响应不足,从而使程序具有扩展性强、重用性高和界面相应灵敏等性能,并以实例进行分析说明.
A Web development framework is helpful to improve the efficiency, maintainability and extensibility of web application. Integrating the layer design and some popular framework technologies, this article describes the design of a new Web framework based on SSH + DWR, in which Strusts decouples the View layer from the business layer, and Hibernate decouples the business layer from the persistence layer by the DAO mode, and Spring promotes a loose coupling between software components by IOC, and DWR improves the response of the user interface. Then an example is given to illustrate this new Web application ,which fully reveals the strong extension, reusability, and sensitivity of client interface.
出处
《南京信息工程大学学报(自然科学版)》
CAS
2010年第5期455-460,共6页
Journal of Nanjing University of Information Science & Technology(Natural Science Edition)
基金
国家自然科学基金(60702076)