基于Struts2与Hibernate框架的Java Web应用研究  被引量:23

Application Research of Java Web Based on Struts2 and Hibernate Framework

在线阅读下载全文

作  者:欧阳宏基[1] 葛萌[1] 

机构地区:[1]咸阳师范学院信息工程学院,陕西咸阳712000

出  处:《自动化技术与应用》2016年第2期48-52,共5页Techniques of Automation and Applications

基  金:咸阳师范学院专项科研基金项目(编号14XSYK038)

摘  要:传统Java Web开发存在着分层不明确、系统耦合度高、业务逻辑与JDBC混为一体等缺点,针对上述问题提出集成Struts2与Hibernate框架进行Web开发的方案。按照分层开发的思想降低层与层之间的耦合度,利用Struts2完成系统的控制逻辑,利用DAO模式封装Hibernate完成业务实体对象与数据库表的ORM映射。将该方案应用于实验室管理系统的开发,详细描述了系统实现的主要过程与若干关键技术。通过实践表明:集成Struts2与Hibernate框架的Web应用具备开发的高效性、复用性和可扩展性。There are several shortcomings such as blurry tiers,high coupled system,logical business mingled with JDBC in the e xploitation of traditional Java Web, an approach with assembling Struts 2 and Hibernate structure is proposed to solve this problem.Declining the coupling between layers Struts 2 is used to complete the systematic logic, and DAO pattem packa- ging Hibemate is a good way to accomplish the reflection between practical business target and database.This plan may be a detailed discription about the mainly process and vital technology, if it is put into effect in the development of laboratory management system. The practice indicates that the Web application of assembling Slruts2 and Hibernate structure possesed the high efficiency, reusabolit y and scalability.

关 键 词:STRUTS2框架 HIBERNATE框架 分层开发 DAO模式 ORM映射 Web应用 

分 类 号:TP319[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象