hibernate在it服务管理项目中的应用.rar

RAR格式版权申诉手机打开展开

hibernate在it服务管理项目中的应用,hibernate在it服务管理项目中的应用1.4万字 39页包括开题报告,任务书,答辩ppt,论文正文,测试报告,正文中附有详细设计代码摘要信息时代中,信息是发展的第一要素,网络的发展让信息的共享成为可能。而信息共享的实质是数据的共享,数据是信息资源最直接的表现形式。在今日的企业环境中,把面向对象的软件和关系数据库一...
编号:138-34988大小:842.00K
分类: 论文>计算机论文

该文档为压缩文件,包含的文件列表如下:

内容介绍

原文档由会员 lyy1314 发布

Hibernate在IT服务管理项目中的应用
1.4万字 39页
包括开题报告,任务书,答辩PPT,论文正文,测试报告,正文中附有详细设计代码



摘要
信息时代中,信息是发展的第一要素,网络的发展让信息的共享成为可能。而信息共享的实质是数据的共享,数据是信息资源最直接的表现形式。在今日的企业环境中,把面向对象的软件和关系数据库一起使用可能是相当麻烦、浪费时间的。Hibernate是一个面向Java环境的对象/关系数据库映射工具。对象/关系数据库映射(ORM))这个术语表示一种技术,用来把对象模型表示的对象映射到基于SQL的关系模型数据结构中去。Hibernate不仅仅管理Java类到数据库表的映射(包括Java数据类型到SQL数据类型的映射),还提供数据查询和获取数据的方法,可以大幅度减少开发时人工使用SQL和JDBC处理数据的时间。
本文首先从对象、面向对象方法入手,讨论了对象持久的概念、方法。重点介绍了当今比较流行的一个开源框架Hibernate这个数据持久化技术体系的原理、结构、机制、以及其对设计模式的运用等方面相关内容。同时,论文最后以基于ITIL理论的IT服务管理项目作为理论与实践的结合,详细论述了Hibernate框架在该项目中的应用。在开发过程中,通过应用MVC设计模式实现了表示逻辑和业务逻辑的分离,为系统的开发和维护提供了更大的灵活性和更好的可管理型。通过实践表明,应用这种系统框架可以提高系统开发的效率,同时满足系统扩展性和可维护性的要求。

关键词:Hibernate,对象关系映射,数据持久层,J2EE,ITIL

Application of Hibernate in ITSM System

Abstract
In information age,information is the most important factor for development in every area.It is possible to share information among different organizations with the improvement of network.In fact,what shared in information is basically data.Data is the very direct representation of information resources.So,in order to realize data-sharing,data should not only be visited,but also be perdure.Work ing with object-oriented software and a relational database can becumbersome and time consuming in today's enterprise environments. Hibemate is an object/relational mapping tool for Java environments. The term object/relational mapping (ORM) refers to the technique of mapping a data representation from an object model to a relational data model with a SQL based schema. Hibernate not only takes care of the mapping from Java classes to database tables (and from Java data types to SQL data types), but also provides data query and retrieval facilities and can significantly reduce development time otherwise spent with manual data handling in SQL and JDBC.
In this paper,firstly,objects and object-oriented methods are in troduced,and discussion
of the conceptions and methods for objects persistence are referred.The principle, structure, mechanism, application of design patterns and etc of a component designed and implemented by author are introduced with emphasis.At the same time, this paper will take ITSM for example and discuss the application of Hibernate.In this case,distinction between description logic and business logic is made possible with in the MVC design patern,which means better flexibility and easier manage ment in the exploration of a system. Results show that this new framework helps to increase work efficiency in exploration. Meanwhile, expansibility and maintainability of the system within this framework are also satisfactory.

Key words:Hibernate,O/R Mapping,Data Persistence,J2EE,ITIL

目录
摘要 I
Abstract II
1.绪论 1
1.1 研究背景 1
1.2 研究意义 1
1.3 研究内容 2
2.数据持久化的概念及相关知识 3
2.1 数据持久性 3
2.2 持久性框架 3
2.2.1 持久性框架概述 3
2.2.2 O/R Mapping技术 4
2.2.3 一些著名的持久框架 5
3.Hibernate O/R Mapping 框架技术 6
3.1 概述 6
3.2 Hibernate的体系结构 6
3.3 Hibernate的类型 7
3.4 操作持久化数据 7
3.4.1 持久化生命周期 7
3.4.2 持久管理器 8
3.5 Hibernate查询语言(HQL) 8
3.6 开发流程 9
4.IT服务管理系统分析 10
4.1 ITSM简介 10
4.2 应用框架及架构设计 11
4.2.1 表现层 11
4.2.2 业务层 12
4.2.3 持久层 12
4.2.4 领域模型层 13
4.3 系统界面 14
4.4 系统功能 18
4.4.1系统管理 18
4.4.2 工作台 18
4.4.3 自主服务台 18
4.4.4 我的工作台 19
5 工作台中问题模块的设计与实现 20
5.1 模块功能描述 20
5.2 模块功能实现 20
5.2.1 新建问题 20
5.2.2 查询问题 21
5.2.3 编辑问题 22
5.2.4 提交问题 23
5.2.5 查看问题 24
5.3 Hibernate在ITSM中的应用 25
5.3.1 Hibernate的配置文件 25
5.3.2 映射文件的编写 27
5.3.3 用Hibernate实现对象关系的映射 31
5.3.3.1 SessionFactory配置 31
5.3.3.2 从XML配置文件获取SessionFactory 32
5.3.3.3 实现映射 32
结论 34
致谢 35
参考文献 36



参考文献
[9] Bret McLaughlin, Java与XML(第二版)[M]. 北京:中国电力出版社. 2004
[10] 任文娟,王华,鞠宏伟,宋柱芹. 基于Struts和Hibernate框架的Web应用的设计与实现. 微计算机信息. 页码:P184-187
[11] James Elliott. Hibernate:程序高手秘笈(英文影印版). 东南大学出版O’Reily图书系列. 2005-11
[12] Sun Microsystems,Inc.The J2EE Tutorial