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

基于J2EE多层架构的Web开发框架研究*
引用本文:李小平,肖岳峰,宿元,宋瀚涛,姚永标.基于J2EE多层架构的Web开发框架研究*[J].计算机应用研究,2008,25(5):1429-1431.
作者姓名:李小平  肖岳峰  宿元  宋瀚涛  姚永标
作者单位:北京理工大学,计算机学院,北京,100081
基金项目:中国成人教育协会成人教育科研规划资助项目
摘    要:在经典的J2EE四层体系结构的基础上增加数据持久层,提出了基于J2EE五层体系结构的Web开发框架;分析了基于Struts框架的J2EE架构中实现对象持久性的局限性,从中分离出对象持久层,并将Hibernate这个面向对象的轻量级对象持久性技术集成到该架构中;应用DAO设计模式在业务逻辑层与持久层之间设计了多源数据访问组件,抽象和封装了对不同数据源的数据访问操作,实现对不同类型、结构、环境、用法的异构数据库的统一访问。

关 键 词:J2EE  模型—视图—控制器  Struts  Hibernate  多源数据
文章编号:1001-3695(2008)05-1429-03
收稿时间:2008/4/20 0:00:00
修稿时间:2007年4月28日

Study of Web based framework based on J2EE multi tier architecture
LI Xiao ping,XIAO Yue feng,SU Yuan,SONG Han tao,YAO Yong biao.Study of Web based framework based on J2EE multi tier architecture[J].Application Research of Computers,2008,25(5):1429-1431.
Authors:LI Xiao ping  XIAO Yue feng  SU Yuan  SONG Han tao  YAO Yong biao
Affiliation:(School of Computer Science, Beijing Institute of Technology, Beijing 100081, China)
Abstract:This paper put forward J2EE 5-tier architecture by increasing data persistence tier based on classical J2EE 4-tier architecture.Analyzed the localization in implementing object persistence of the J2EE architecture based on Struts and divided the object persistence tier from it,then integrated Hibernate,a lightweight object oriented persistence technology,into the architecture,so that the advantages of each could be shared by all.A multi-source data accessing module was designed by applying the DAO design pattern between business tier and data persistence tier in this architecture to implement identically access various isomerous database with different types,structure,environment and usage.
Keywords:J2EE  MVC  Struts  Hibernate  multi-source data
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机应用研究》浏览原始摘要信息
点击此处可从《计算机应用研究》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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