基于hibernate技术的equipment management syste.doc

约37页DOC格式手机打开展开

基于hibernate技术的equipment management syste,基于hibernate技术的equipment management system开发1.2万字37页摘要公司规模的不断扩大令行政部的管理工作日益繁重,所以其迫切需要开发一个mis(management information system)系统来使其行政管理规范化、制度化、所需各种数据标准化。在大型系统的开发过程中,...
编号:66-34376大小:848.00K
分类: 论文>计算机论文

内容介绍

此文档由会员 阿凡达 发布

基于Hibernate技术的Equipment Management System开发
1.2万字 37页


摘要

公司规模的不断扩大令行政部的管理工作日益繁重,所以其迫切需要开发一个MIS(Management Information System)系统来使其行政管理规范化、制度化、所需各种数据标准化。在大型系统的开发过程中,使用Hibernate作为业务逻辑层和数据库层之间的持久层,实现对象到关系数据库的持久存储,不但解决了对象模型与关系模型之间的“阻抗不匹配”问题,也提高了项目开发的效率。所以,某公司决定开发基于Hibernate技术的Equipment Management System。
Hibernate是目前最流行的开源对象关系映射框架,是面向对象的程序设计语言和关系数据库之间的桥梁。它对JDBC作了轻量级的封装,不仅提供ORM映射服务,还提供数据查询和数据缓存功能。作为优秀的持久层框架实现,Hibernate提供了强大、高性能的对象到关系数据库的持久化服务,其良好的持久层映射机制,使得操作完全面向对象。
本文研究了Hibernate技术,分析了Hibernate的对象关系映射框架实现机制及其工作原理。最后,结合实践,介绍了基于Hibernate技术的Equipment Management System的开发。

关键词:Hibernate,持久化,对象关系映射





Hibernate –Based
Equipment Management System Development

Abstract
With the company expanding the scale, the workload of Administration Department is increasing. So their urgent need is to develop a MIS (Management Information System), which makes the administration to be standardization and institutionalization. In the process of large systems development, it uses Hibernate between business logic layer and database layer as the persistence layer, implementing the persistent store from objects to relationship database. It solves the impedance mismatch difficulties between the object model and the relationship model, and improves the efficiency of the project development. Therefore, the company decides to develop Equipment Management System of Hibernate-based.
Hibernate is the most popular open source object-relational mapping framework, and also a bridge between the object-oriented programming language and the relational database. It makes JDBC a lightweight package. And, it not only provides ORM mapping services, but also provides data query and data cache function. As a good framework for achieving persistence layer, Hibernate provides a powerful, high-performance persistence service from objects to the relational database. Its good mechanism for persistence mapping makes operations object-oriented fully.
In this paper, some research has been done on the Hibernate technology, and also analysis object-relational mapping framework for the realizing mechanism of the Hibernate and its working principles. Finally, according to practices, it introduces the development of Equipment Management System, which is based on Hibernate technology.

Key Words: Hibernate, Persistence, Object Relation Mapping




目 录
1 绪论 1
1.1 问题的提出 1
1.2 技术背景 2
1.3 课题研究的意义 3
1.4 论文的组织结构 3
2 MVC设计模式 5
2.1 MVC框架 5
2.2 MVC的处理过程 6
2.3 MVC模式的优点 6
3 HIBERNATE持久框架介绍 8
3.1 ORM简介 8
3.2 HIBERNATE持久框架概述 8
3.3 利用HIBERNATE持久化JAVA类 9
3.3.1 对象持久化的定义 9
3.3.2 Hibernate的优点 11
3.3.3 Hibernate持久化步骤 12
4 EQUIPMENT MANAGEMENT SYSTEM的构建 14
4.1 需求分析 14
4.1.1 项目来源 14
4.1.2 项目目标 14
4.1.3 系统模型 15
4.1.4 功能需求 15
4.1.5 用例分析 18
4.1.6 数据字典 20
4.1.7 性能需求 20
4.2 基于HIBERNATE的系统设计 21
4.2.1 系统特点 21
4.2.2 设计要求 21
4.2.3 基于Hibernate的系统设计方案 22
4.3 基于HIBERNATE的系统实现 23
4.3.1 环境配置 23
4.3.2 数据持久层的实现 24
4.3.3 系统运行效果 27
4.4 系统测试 29
5 总结与展望 30
致谢 31
参考文献 32



参考文献
[6]李林红,沈文轩.基于Hibernate和Spring的持久层OR映射技术[D].辽宁鞍山:鞍山科技大学,2006.
[7]车敦仁,周立柱. 关系数据库与面向对象数据库的集成[J],软件学报,1996,7(11): 669-675
[8]James Elliott.Hibernate.A Developer’s Notebook[M].O’Reilly Media,Inc,2004: 35-47
[9]夏昕,曹晓钢,唐勇.深入浅出Hibernate[M].北京:电子工业出版社,2005:3-48, 79-197.
[10]孙卫琴.精通Hibernate:Java对象持久化技术详解[M].北京:电子工业出版社,2005:113-242
[11]Will Iverson.A J2EE Developer’s Guide[M].Addison Wesley Professional,2004: 38-40.