作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2011, Vol. 37 ›› Issue (9): 112-114. doi: 10.3969/j.issn.1000-3428.2011.09.038

• 软件技术与数据库 • 上一篇    下一篇

基于Struts和Hibernate的Web应用开发

王海涛,贾宗璞   

  1. (河南理工大学计算机学院,河南 焦作 454003)
  • 出版日期:2011-05-05 发布日期:2011-05-12
  • 作者简介:王海涛(1974-),男,讲师、硕士,主研方向:网络安全,Web应用开发;贾宗璞,教授、博士生导师
  • 基金资助:
    河南省科技攻关计划基金资助重点项目(072102210058)

Web Application Development Based on Struts and Hibernate

WANG Hai-tao, JIA Zong-pu   

  1. (College of Computer & Science Technology, Henan Polytechnic University, Jiaozuo 454003, China)
  • Online:2011-05-05 Published:2011-05-12

摘要: Struts框架在模型部分的实现存在JDBC连接数据库复杂、层间高耦合和难维护等问题。为此,提出一种整合Struts和Hibernate的Web应用开发方案,可实现层间的松散耦合和易维护,降低业务模型开发难度。通过学生管理系统开发实例的部分代码和运行界面说明该方案的整合应用过程,并验证其可行性。

关键词: Struts框架, Hibernate框架, 对象关系映射, 逻辑控制

Abstract: 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.

Key words: Struts framework, Hibernate framework, Object Relational Mapping(ORM), logic control

中图分类号: