Model realization of Struts have some problems, such as complex JDBC connecting to database, high coupling between layers and difficult code maintenance, et al. Aiming at these problems, this paper presents a Web application development scheme based on Struts and Hibernate. It really achieves the loose coupling between layers and easy maintenance, reduces the difficulty of development of business model.Through part of development codes and running window of student management system, it explains the process of integration and proves the feasibility of integrated solutions.%Struts框架在模型部分的实现存在JDBC连接数据库复杂、层间高耦合和难维护等问题.为此,提出一种整合Struts和Hibernate的Web应用开发方案,可实现层间的松散耦合和易维护,降低业务模型开发难度.通过学生管理系统开发实例的部分代码和运行界面说明该方案的整合应用过程,并验证其可行性.
展开▼