登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 计算机类 > 计算机科学与技术 > 正文

基于hibernate的图书管理系统的设计与实现毕业论文

 2021-10-15 08:10  

摘 要

当前市面上已经有许多大型的,优秀的图书管理系统,可以满足读者及图书管理人员的各种需求。比如,海量图书快速检索,多用户,多点存取,简洁美观的交互界面以及多功能的个性化服务等,使得现代图书馆的图书管理系统越来越人性化和智能化。但是,对于一些小型图书馆来说,这样功能完善,体系庞大的图书管理系统似乎是大材小用,而且高额的运营和维护成本也是小型图书馆负担不起的。所以,本次课题研究旨在设计实现一个小型图书管理系统,满足小型图书馆管理系统的功能需求,在小型图书馆和用户之间建立一个功能实用,低成本的交互平台。

本次课题研究采用MVC设计模式,借助Sruts2 Hibernate框架来开发一个小型图书管理系统,提供基本的图书管理,读者管理,图书借阅管理以及图书信息检索等功能,同时该系统还能自动的对逾期不归还图书的读者进行信用分扣分处理,既保证了图书的安全,也大大减少图书管理人员的工作任务,从而降低管理和运营成本。

整个系统分为表示层,业务处理层,数据持久化层和数据库层,实现了代码的分离,从而提高了整个系统的可维护性和可重用性。Hibernate是一个ORM框架,对JDBC进行了轻量级的对象封装,使得程序员可以用面向对象的方式来操纵数据库,Struts 2采用拦截器的机制来处理用户的请求,使得业务逻辑控制器能够与ServletAPI完全脱离开,更加符合现代软件工程的高内聚,低耦合的设计思想。

关键词:图书管理;MVC;Hibernate;Struts2;Java

Abstract

At present, there are many large and excellent books management system, which can meet the needs of the readers and the library management staff. For example, fast mass books retrieval, multi-user, multi access point, simple and beautiful interface and multi function of personalized service, making modern library books management system management system more and more humanized and intelligent. However, for some small library, so the function is perfect, a huge system of library management system seems to be overkill, and high operation and maintenance costs are also small library burden can not afford the. So, this research aims to design and implementation of a small library management system, to meet the functional requirements of a small library management system, the small library between users and establish a functional and practical, low cost interactive platform.

This research uses the MVC design pattern, with the framework of Sruts2 Hibernate to develop a small library management system, provides the basic library management, reader management, books borrowing management and Library and information retrieval functions, also the system can automatically to fails to return book readers credit points deducted points processing, both to ensure the safety of the books is also greatly reduced the tasks of library management personnel, thereby reducing management and operating costs.

The whole system is divided into presentation layer, business process layer, data persistence layer and database layer, which realize the separation of the code, thus improving the maintainability and reusability of the whole system. Hibernate is an ORM framework, JDBC a lightweight object encapsulation, the programmer can use the object oriented method to operate database, struts 2 the interceptor mechanism to deal with the user's request, makes the business logic controllers can servletapi completely out of the open, more in line with modern software engineering of high cohesion and low coupling design idea.

Key Words:Books management;MVC;Hibernate;Struts2;Java

目 录

第1章 绪论 1

1.1 研究背景 1

1.2 国内外研究现状 1

1.3 研究目的与意义 2

1.4 本课题研究内容 2

第2章 相关技术及基础理论的介绍 3

2.1 网页客户端 3

2.1.1 JavaScript简介 3

2.2 服务器端 3

2.2.1 Hibernate框架 3

2.2.2 Hibernate体系结构 4

2.2.3 Hibernate工作原理 5

2.2.4 Struts2框架 6

第3章 系统分析 7

3.1系统总体需求分析 7

3.2系统功能需求分析 7

第4章 总体设计 10

4.1 系统三层体系结构 10

4.2 数据库概念设计 10

4.2.1 数据实体E-R图 10

4.2.2 表设计 16

第5章 系统详细设计与实现 20

5.1 搭建开发环境 20

5.1.1 开发工具 20

5.1.2 开发环境搭建 20

5.2 数据库逻辑设计与实现 21

5.3 系统服务器端模块设计 23

5.3.1 Struts2配置拦截器 24

5.3.2 用户登录模块 24

5.3.3 用户注册模块 26

5.3.4 修改个人信息模块 27

5.3.5 预定图书模块 28

5.3.6 借阅图书/归还图书模块 30

5.3.7 图书检索模块 31

5.3.8 图书管理模块 32

第6章 系统测试 33

6.1 系统测试的目的和准则 33

6.2 测试用例设计与结果展示 33

6.3 系统测试总结 43

第7章 总结与展望 44

7.1 总结 44

7.2 展望 44

参考文献 45

致 谢 46

第1章 绪论

1.1 研究背景

当今时代是飞速发展的信息时代,各行各业都离不开信息处理,这正是计算机被广泛应用于各行各业的原因,计算机处理信息快速,准确,提高了信息处理的效率,保证了信息的安全,尤其是对于海量信息的处理,计算机更加突出的表现出了它的优越性。因此,计算机正在改变着许多传统行业的信息处理系统,比如图书管理系统,随着图书数量的不断增加,人们对书籍检索要求的不断提高,同时还要简洁的交互界面,图书管理系统也在不断的更新换代以满足时代的要求。当前市面上已经有许多大型的,优秀的图书管理系统,可以满足读者及图书管理人员的各种需求。比如,海量图书快速检索,多用户,多点存取,简洁美观的交互界面以及多功能的个性化服务等,使得现代图书馆的图书管理系统越来越人性化和智能化。但是,对于一些小型图书馆来说,这样功能完善,体系庞大的图书管理系统似乎是大材小用,而且高额的运营和维护成本也是小型图书馆负担不起的。

1.2 国内外研究现状

在国外,包括以色列、美国、澳大利亚等国家的几个公司都曾开发出比较著名的图书馆管理系统,目前在国外的图书管理系统中,ExLihris公司开发的Aleph500和澳大利亚DYNIX开发的Horizon系统是比较流行的。

(1)Aleph500

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图