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

利用框架技术构建Web应用
引用本文:郝彬,陈朔鹰.利用框架技术构建Web应用[J].计算机工程与设计,2007,28(1):8-12,50.
作者姓名:郝彬  陈朔鹰
作者单位:北京理工大学计算机科学技术学院 北京100081
摘    要:目前开发基于Java的Web应用正逐渐转向开源框架支持的轻量级开发架构,基于框架的Web应用具有高可靠性、可复用性,可扩展性和可维护性等优点.当前主流的开源框架有Struts、Spring和Hibernate,其中Struts是一个优秀的MVC框架,Spring是以AOP为基础并实现了IoC机制的轻量级框架,Hibernate是实现了对象/关系映射的持久化框架,它们三者的整合是目前一个比较流行的开发架构.分别介绍这3个框架,然后介绍整合了它们的一个开发架构,并通过一个实际的例子说明了在应用中将它们整合的方法.

关 键 词:框架  开发架构  控制层  控制反转  对象/关系映射  持久层  利用  持久化框架  技术构建  应用  frameworks  applications  方法  比较  整合  关系映射  对象  轻量级框架  机制  Hibernate  Spring  Struts  可维护性  可扩展性  可复用性  高可靠性
文章编号:1000-7024(2007)01-0008-05
修稿时间:2005-12-28

Build web applications with frameworks
HAO Bin,CHEN Shuo-ying.Build web applications with frameworks[J].Computer Engineering and Design,2007,28(1):8-12,50.
Authors:HAO Bin  CHEN Shuo-ying
Affiliation:School of Computer Science and Technology, Beijing Institute of Technology, Beijing 100081, China
Abstract:Currently web applications based on java is gradually turning to light-weight architecture with open-source frameworks sup-ported.The web application built on frameworks have the advantages of reliability,reusability,extensibility and maintainability.The mainstream framework includes struts,spring and hibernate.Among them,struts is an excellent MVC architecture.Spring is light-weight framework which is based on AOP and has implemented IoC mechanism.Hibernate is a persistence framework based on O/R ma-pping.The integration of them makes a popular architecture.Firstly the three frameworks is introduced and then an architecture which integrates them is presented.An actual example is also given to explain the method to integrate them three.
Keywords:framework  architecture  controller  IoC  O/R mapping  persistence
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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