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

用Struts和Hibernate构筑Web应用开发策略
引用本文:吴岳,翁敬农.用Struts和Hibernate构筑Web应用开发策略[J].计算机工程与设计,2006,27(7):1176-1179.
作者姓名:吴岳  翁敬农
作者单位:北京航空航天大学,计算机学院,北京,100083
摘    要:当今越来越多的Web应用是基于MVC设计模式的.此种设计模式提高了应用系统的可维护性、可扩展性和组件的可复用性.Apache开源组织提供的Struts框架充分体现了MVC架构.Hibernate实际上是一个用对象编程思维来操纵数据库的解决方案.提出了一种基于Struts和Hibernate架构的Web应用开发策略.MVC架构中,模型、视图和控制器3个部分中的模型部分(数据持久层)用Hibernate实现,视图和控制器的实现依托于Struts框架.这种策略真正实现了层间的松散耦合.

关 键 词:MVC模式  Web应用
文章编号:1000-7024(2006)07-1176-04
收稿时间:2005-01-16
修稿时间:2005-01-16

Building strategy for web applications combined struts with hibernate
WU Yue,WENG Jing-nong.Building strategy for web applications combined struts with hibernate[J].Computer Engineering and Design,2006,27(7):1176-1179.
Authors:WU Yue  WENG Jing-nong
Affiliation:School of Computer Science and Engineering, Beijing University of Aeronautics Astronautics, Beijing 100083, China
Abstract:An ever-increasing web applications are developed basedon MVC designed pattern.This kindof patternsimprovemaintenance,expansibility and reuse of applications.The core of the struts framework which is provided by the apache software foundation can sig-nificantly embody the architecture of MVC pattern.Hibernate is a powerful,ultra-high performance object/relational persistence and query service for SQL database.A new strategy for web application which is based on struts and hibernate framework is presented.The modal(data persistence tier) is implemented via hibernate among the tree parts of MVC.The fantastic solution scheme must bring genuine loose coupling for web applications.
Keywords:Struts  Hibernate
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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