教学文库网 - 权威文档分享云平台
您的当前位置:首页 > 精品文档 > 综合文档 >

开源技术Struts、Spring、Hibernate

来源:网络收集 时间:2026-02-18
导读: 分类号: 单位代码:11407 密 级: 学 号:20055306 北 方 民 族 大 学 硕士学位论文 开源技术Struts、Spring、Hibernate 在MIS开发中的应用研究 An Application Research on Open Source Technologies Struts、Spring、Hibernate in MIS Development 学 位

分类号: 单位代码:11407 密 级: 学 号:20055306

北 方 民 族 大 学

硕士学位论文

开源技术Struts、Spring、Hibernate

在MIS开发中的应用研究

An Application Research on Open Source Technologies

Struts、Spring、Hibernate in MIS Development

学 位 申 请 人: 李 鉴 指

师: 冒东奎 教授

申请学位门类级别: 工学硕士 专研所

业究在

名方学

称: 计算机应用技术 向: 信息系统工程 院: 计算机科学与工程学院

论 文 完 成 日 期: 2008年5月

-1-

北方民族大学硕士学位论文 开源技术Struts,Spring,Hibernate在MIS开发中的应用研究

独 创 性 声 明

本人声明所呈交的论文是我个人在导师指导下进行的研究工作及取得的研究成果。尽我所知,除了文中特别加以标注和致谢的地方外,论文中不包含其他人已经发表或撰写过的研究成果,也不包含为获得西北第二民族学院或其它教育机构的学位或证书而使用过的材料。与我一同工作的同志对本研究所做的任何贡献均已在论文中作了明确的说明并表示了谢意。

研究生签名: 时间: 2008年 5 月 20 日

关于论文使用授权的说明

本人完全了解西北第二民族学院有关保留、使用学位论文的规定,即:学校有权保留送交论文的复印件和磁盘,允许论文被查阅和借阅,可以采用影印、缩印或扫描等复制手段保存、汇编学位论文。同意西北第二民族学院可以用不同方式在不同媒体上发表、传播学位论文的全部或部分内容。

研究生签名: 时间:2008年 5 月 20 日

导师签名:

-1-

时间:2008年 5 月 20 日

北方民族大学硕士学位论文 开源技术Struts,Spring,Hibernate在MIS开发中的应用研究

摘 要

随着 Internet技术的飞速发展,基于B/S结构的服务器端应用程序得到了广泛的应用,实现Web应用的众多技术及其框架也层出不穷。传统的EJB解决方案由于其复杂性无法解决其适用范围外的问题。在开源领域,基于框架开发的技术非常活跃,尤其以Struts,Spring和Hibernate为代表。Struts是一种实现了MVC模式的Web应用框架,它全面减轻了构建多层Web应用的负担。Spring是为解决企业开发应用逻辑的复杂性而创立的一种框架。Hibernate通过建立对象关系映射,解决了以前数据库开发复杂和繁琐等问题。由于这些框架在企业开发中发挥的优势都集中在各自的范围之内,所以它们为企业开发带来了便利,同时也存在不足。那么如何整合这三种独立的框架,发挥它们各自的优势,克服J2EE的复杂性,给软件开发者提出了挑战。

本文针对上述问题,对Struts,Spring,Hibernate框架进行研究,具体分析各种框架在Web应用的不同层次上所发挥的作用。提出整合三种框架的思路,并设计出一个适合企业Web应用开发的符合JavaEE规范的整合框架。该框架基于Struts 的 MVC 设计模式,利用Struts的Controler实现整体流程控制,将应用中的业务逻辑交给Spring管理,相关类用Spring的beans配置完成,并由Spring管理下层的数据访问对象,由Hibernate负责数据的持久化。并对Spring,Hibernate和Struts整合后框架耦合性进行深入的分析研究。最后,以作者所开发的一个网站通用后台信息管理系统做为验证。开发结果表明,该应用系统具有与平台无关性,可维护性、可扩展性、可移植性,同时能够使组件的可复用性得到提高。 关键词:Spring,Struts,Hibernate,整合,MVC

-2-

北方民族大学硕士学位论文 开源技术Struts,Spring,Hibernate在MIS开发中的应用研究

Abstract

With rapid development of the internet technology, application programs on the server side, which is based B/S structure, are used widely. A lot of technologies and their frameworks for Web Applications are emerging one by one. EJB as the traditional solution cannot resolve many problem for its complexity.In open source field ,technology base on development frameworks are flourish, especially Struts,Spring and Hibernate. struts is a Web application framework that has realized MVC mode. It can lighten the burden in constructing a multilayer Web application. Spring was created to solve the complicacy of application logic of enterprise development .Hibernate improve on the

complex database development by using Object Relational Mapping .All this frameworks take their advantage on their own field in enterprise development ,therefore they bring both convenience and insufficiency. So how to integrate the three independent frameworks,put their own advantages to the best use,overcome J2EE complexity,raise a challenge to software developers.

In order to resolve above these problem,a research work on Struts, Spring and Hibernate

frameworks has been done. The roles of the 3 frameworks in different tiers of a Web application are analyzed in detail. A thought for integration of the 3 frameworks is introduced. A new framework,that is suitable for development of enterprise Web application and conformable to J2EE specification, is designed. The framework is based on MVC design mode of Struts. Overall process control is

implemented by using Struts Controller. The business logic of the application is managed by Spring. Relative classes … through configuration of Spring Beans. Data Access Objects in underlying tiers are managed by Spring. The responsibility for Data persistence is taken by Hibernate. A intensive analysis and study on coupling performances of the integrated framework from Spring,Hibernate and Struts has been done finally,A general-purpose backend MIS for websites has been developed, that is used as a verification. The development result indicated that the application system has the attribute of platform independency, maintainability, extendibility, portability and meanwhile the module's reusability has been enhanced.

Keyword:Spring,Struts,Hibernate,integration,MVC

-3-

北方民族大学硕士学位论文 开源技术Struts,Spring,Hibernate在MIS开发中的应用研究

目 录

开源技术STRUTS、SPRING、HIBERNATE ................ …… 此处隐藏:6184字,全部文档内容请下载后查看。喜欢就下载吧 ……

开源技术Struts、Spring、Hibernate.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.jiaowen.net/wendang/402890.html(转载请注明文章来源)
Copyright © 2020-2025 教文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:78024566 邮箱:78024566@qq.com
苏ICP备19068818号-2
Top
× 游客快捷下载通道(下载后可以自由复制和排版)
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
× 常见问题(客服时间:周一到周五 9:30-18:00)