哈尔滨科学技术职业学院
专科学生毕业论文
论文题目:学 院:年 级:专 业:姓 名:学 号:指导教师:
基于SSH的图书点评网站的设计与实现
哈尔滨科学技术职业学院理工系
2 01 1 级 计算机网络 魏 彩 凤 0 5 熊国良
2014 年 5月 10日
摘要
随着教育和商业信息化的快速发展,互联网逐渐的成为了人们日常生活中不可或缺的东西。这也是在未来教育和商业的发展中所走的必然趋势。现在伴随着图书文化的再次兴起,各种图书网站也都相应出现。其中网上的图书阅读和评价占据了主导的地位,相对于传统的阅读模式而言,读书点评网站的设计与实现旨在实现读者能够在不浪费更多的人力和时间的前提下,使得读者能够在互联网上快捷方便的找到自己所需要的图书并进行相应的点评。
本网站的设计在综合分析了当前的读者的喜好以及提供阅读场所的阅读模式的基础上,采用了JAVA当前开发中比较成熟的框架模式,即Struct2+Spring+Hibernate框架进行设计实现。以MyEclipse作为开发工具,采用Tomcat服务器技术,使用MySQL作为后台数据库。
图书点评网站是一个信息交流平台,可以和其他用户之间进行交流以达到资源共建与共享。整个系统从符合界面友好、操作简便、灵活、实用、安全的要求出发,完成了注册登录、图书管理、博文管理、图书和博文点评功能、好友管理、搜索与统计、好友留言、超级管理员等功能。本网站的设计本着“资源共建与共享”和“一切为了读者”,的宗旨,努力打造一个供广大读者进行学习交流和心灵沟通的网络平台。
关键词
Struct2、Spring、Hibernate、图书点评网站
Abstract
With the rapid development of information technology education and business, the Internet gradually became the indispensable things in People's Daily life. This is education and business in the future in the development of the inevitable trend. Now along with books culture rise again, all kinds of books are corresponding to. Which online book reading and evaluation occupies the dominant position, compared with the traditional model of reading, reading review websites designed to realize the design and implementation of the reader to do not waste more manpower and time under the premise of enables readers to quick and convenient to find what they need on the Internet book review accordingly.
This website design in comprehensive analysis of the current reader's preferences as well as providing reading place reading model, on the basis of using the JAVA compare mature framework in the current development pattern, namely Struct2 + Spring + Hibernate framework design and implementation. Eclipse as development tools, use the Tomcat server technology, using MySQL database as the background.
Book review site is an information exchange platform, can communicate with other users in order to achieve resources sharing and sharing. From the whole system in line with the friendly interface, easy operation, flexible, practical, safety requirements, completed the registered login, book management, post management, book and post comments on function, management, search and statistics and message friends and super administrator, etc. This website design in line with the \and sharing\and \for the reader,\the objective, efforts to build a for readers to learn communication and spiritual communication network platform.
Key words
Struct2,Spring, Hibernate, Book Review Sites
目录
摘要 ............................................................................................................................................ i Abstract ................................................................................................................................... ii
第一章 绪论 ............................................................................................................................. 1
1.1 课题背景 .................................................................................................................... 1 1.2 目的和意义 ................................................................................................................. 2 1.3 系统设计思想 ............................................................................................................. 2 1.4 系统开发环境与运行环境 ......................................................................................... 3 1.5 本章小结 ..................................................................................................................... 4 第二章 系统分析 ..................................................................................................................... 4
2.1 需求分析 ..................................................................................................................... 4 2.2 可行性分析 ................................................................................................................. 5 2.3 本章小结 ..................................................................................................................... 6 第三章 系统相关技术简介 ..................................................................................................... 6
3.1 Struts技术介绍 ........................................................................................................... 6
3.1.1 Struts的原理 ..................................................................................................... 6 3.1.2 Struts的优缺点 ................................................................................................. 7 3.2 Spring技术介绍 ......................................................................................................... 8
3.2.1 Spring的原理 ................................................................................................... 8 3.2.2 Spring的优缺点 ............................................................................................... 8 3.3 Hibernate技术介绍 .................................................................................................... 9
3.3.1 Hibernate的原理 ............................................................................................ 10 3.3.2 Hibernate的优缺点 ........................................................................................ 10 3.4 本章小结 ................................................................................................................... 11 第四章 系统设计与实现 ....................................................................................................... 11
4.1 系统概要设计 ........................................................................................................... 12 4.2 系统详细设计与实现 ............................................................................................... 13
4.2.1 注册登录模块 ................................................................................................. 14 4.2.2 书籍管理模块 ................................................................................................. 15 4.2.3 点评管理模块 ................................................................................................. 16 4.2.4 搜索与统计模块 ............................................................................................. 17 4.2.5 博文管理模块 ................................................................................................. 18 4.2.6 书友管理模块 ................................................................................................. 18 4.3 数据库设计与实现 ................................................................................................... 19
4.3.1 数据库概念结构设计 ..................................................................................... 20 4.3.2 数据库逻辑结构设计与实现 ......................................................................... 23 4.4本章小结 .................................................................................................................... 27 第五章 系统测试 ................................................................................................................... 27
5.1测试的概念 ................................................................................................................ 27 5.2测试项目 .................................................................................................................... 28
5.2.1测试方法 .......................................................................................................... 28 5.2.2系统单元测试 .................................................................................................. 28 5.2.3系统功能测试 .................................................................................................. 29 5.2.4系统确认测试 .................................................................................................. 32 5.3 本章小结 ................................................................................................................... 33 结论 ......................................................................................................................................... 33 参考文献 ................................................................................................................................. 34 致谢 ........................................................................................................................................... 1