首页 | 本学科首页   官方微博 | 高级检索  
     

基于Struts和Hibernate框架的Web应用的设计与实现
引用本文:任文娟,王华,鞠宏伟,宋柱芹.基于Struts和Hibernate框架的Web应用的设计与实现[J].微计算机信息,2006,22(27):184-187.
作者姓名:任文娟  王华  鞠宏伟  宋柱芹
作者单位:1. 250061,山东,济南,山东大学计算机科学与技术学院;250014,山东,济南,山东电子职业技术学院计算机系
2. 250061,山东,济南,山东大学计算机科学与技术学院
3. 276826,山东,日照,曲阜师范大学资产管理处
4. 06500,廊坊,北华航天工业学院计算机系
摘    要:基于J2EE平台的框架技术是目前开发Web应用的主流技术。其中,Struts框架基于MVC设计模式,清晰地划分了控制部分、业务逻辑和视图,实现了各层之间的解耦;而Hibernate对JDBC提供了轻量级的对象封装,降低了业务模型部分开发的难度。整合这两种框架的J2EE架构是Web应用开发的完美选择。本文以某企业办公系统E-WORK的开发为背景,重点阐述了Struts和Hibernate框架技术,并通过分析这两种框架各自的优缺点,设计了整合Struts和Hibernate框架技术的E-WORK系统的J2EE架构。最后以系统中一个模块的实现为例说明系统开发过程。

关 键 词:Web应用  MVC模式
文章编号:1008-0570(2006)09-3-0184-04
修稿时间:2006年1月25日

The Design and Implement of Web applications Based on Struts and Hibernate Framework
Ren,Wenjuan,Wang,hua,Ju,Hongwei,Song,Zhuqin.The Design and Implement of Web applications Based on Struts and Hibernate Framework[J].Control & Automation,2006,22(27):184-187.
Authors:Ren  Wenjuan  Wang  hua  Ju  Hongwei  Song  Zhuqin
Abstract:At present, framework based on J2EE is a mainstream technology for developing web applications. The Struts framework is based on MVC(Model View Controller) design pattern which clearly separates control, business logic and presentation, and decouples the tiers. Hibernate provides lightweight object encapsulation for JDBC, and decreases the difficulty for developing the part of busi- ness model. J2EE which combines Struts and Hibernate is the best selection for web application development. On the background of developing an office system - E- WORK for a corporation, this paper mainly describes both the Struts and Hibernate framework tech- nologies. By analyzing the advantages and disadvantages of both the Struts and Hibernate, we design a J2EE framework combines Struts and Hibernate. At last, we also show the development procedure by giving the realization of a module in this system.
Keywords:Struts  Hibernate
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号