基于Struts2 Hibernate的在线考试系统

 2023-03-01 10:03

论文总字数:14964字

摘 要

伴随着社会的进步,以及人们处理的事物越来越繁杂,人们迫切需要利用已有技术来代替自己处理这种繁杂的事情。在线考试系统就是这样一种能够减少老师的工作量及提高工作质量,同时能够满足不同学生不同考试的系统。在线考试可以更加保证考试的统一性与客观性,同时可以激励学生的学习态度,提高教学教育质量,促进社会教育理念的进步,推动教育事业的不断发展。在线考试利用计算机辅助完成传统的考试过程中的出卷、答卷、改卷、分析等工作,相比于传统纸制试卷考试,在线考试系统主要优点体现在大大减少了成本问题。本文采用多层体系结构设计开发基于Struts2和Hibernate框架的在线考试系统。首先对此在线考试系统进行需求分析,其次在网络应用的各个层次对Struts2和Hibernate框架进行分析整合。然后应用这两种框架,设计出一个J2EE架构。其中Struts2主要的功能变现在对系统请求的响应以及页面的展示;Hibernate的主要功能是数据的长期性。最后在此架构上,设计了一个在线考试系统。实践证明,使用此架构不仅能够充分发挥每个框架的长处,降低系统开发的难度,加快了开发进度和增进了系统质量,而且还能提高系统的各种性能,如扩展性、复用性等性能。

关键词:在线考试系统;Struts2;Hibernate;提高效率

Online examination system based on Struts2 Hibernate

Abstract

With the progress of the society, as well as people deal with things more and more complicated, there is an urgent need to use existing technology to replace their own deal with such a complex thing. Online examination system is a kind of system which can reduce the workload of teachers and improve the quality of work, and can meet the different test of different students. Online examination can ensure examination more justice, fairness and objectivity, Online examination using computer aided complete volumes, answer, scoring, analysis in the traditional examination process, compared to the main advantage of the traditional paper-based exam papers embodied in huge exam pool can be reused, fast and accurate scoring, analysis of the results scientific and save paper, is easy to control and so on many kinds of merits, in terms of human, material and financial resources than the traditional examination has obvious advantages. This line examination system based on the Struts2 and Hibernate framework. First, this online examination system needs analysis, the combination of Struts2 and Hibernate framework, a detailed analysis of the various framework in Web application layer on the role of. And then integrate these two frameworks, design a suitable for online examination system applications J2EE general architecture. Struts2 mainly in the examination system performance layer, the completion of the page display, in response to some of the functions of the candidate requests; Hibernate mainly in the test data persistence layer, responsible for the persistence of test data. Finally, on the basis of this architecture, the online examination system is designed and implemented. Practice has proved that the use of this architecture can not only give full play to the strengths of each frame, reduce the difficulty of system development, speed up the development progress and enhance the quality of the system, but also can improve the system performance, such as expansion and reuse performance.

Key words: online examination system, Struts2, Hibernate, improve efficiency

目录

摘要 3

Abstract 4

第一章 引言 6

1.1 在线考试系统的研究背景 6

1.2 在线考试系统的目的和意义 6

1.3 国内外在线考试系统研究现状 6

1.4 本文的主要工作 7

1.5 论文组织结构 7

第二章 系统相关技术介绍 8

2.1 J2EE技术 8

2.1.1 J2EE分层结构模型 8

2.2 框架技术 8

2.2.1 mvc模式 9

2.2.2 struts2框架 9

2.2.3 hibernate框架 10

第三章 系统的需求分析 11

3.1 系统需求分析 11

3.1.1 系统功能分析 11

3.1.2 系统任务分析 11

3.2 系统架构选择 12

3.2.1 struts与hibernate的整合分析 12

3.2.2 数据库系统分析 13

第四章 系统设计 14

4.1总体架构设计 14

4.2流程图 14

4.3功能设计 14

4.3数据库设计 14

第五章 系统模块设计 15

5.1 系统模块介绍 15

5.2 登陆模块 15

5.3 学生模块 15

5.4 老师模块 16

第六章 系统总结与评价 17

6.1 系统的不足与总结 17

致谢 18

参考文献 19

附录 20

引言

1.1 在线考试系统的研究背景

信息时代的到来,网络技术越加广泛的应用于各个领域,尤其的深入了关乎每个人的教育领域。同时,社会需求对与各阶层要求的能力不断怎高,那么考试是作为衡量人们能力的重要手段之一,总会时时的出现于我们的面前。如各种各样的职业测评考试、资格证书考试、培训考试数不胜数,如何需求一种快速、准确而又公平的考试平台将是不得不解决的问题。

现在很多国家已经切实的把网络发展成果应用到了教育中,他们已经可以通过远程教育来实现教育事业的进行。远程教育是一种新型的不需要面对面的教育,包括教学系统、考试系统和答疑系统等等。在线考试系统是其中必不可少而又最难的系统。在我国,目前学校和社会上的各种考试大都采用传统的考试方法,在此这样的方式下又要经过出题发卷、考生到场考试、收卷阅卷、批改分析和试卷管理几个方面,这大大浪费了时间与人力,可以说传统的教育方法已经不适用于现代考试的需要。计算机技术的成果就是为了能够应用到我们的生活中。我们既然有了能够代替不合理的传统方式,又为何不利用起来呢?当我们用在线考试系统的工作压力时,我们就会发现它是一种多么方便快捷的工作系统。它能加快我们的工作进度,提高考试质量,同样由于没有认为的因素粗在而大大增加了考试的公平公正性。这对于每一个人的意义不言而喻的。相信施行在线考试系统的策略必定是促进教育事业进步的良方。

1.2 在线考试系统的目的和意义

科技的发展,使得现代考试的类型正在不断的变多,考试的要求也更加严格。于是,教师需要做的工作量也就直线上升。由此看来,传统考试所花费的人力物力和时间将远远大于考试所带来的效果。然而,在线考试系统能够轻松的避免目前的考试中的大部分弊端。不但可以降低老师的工作程度和各种花费,还能够有效的方便学生进行考试。除此此外,考生还可以自主的在网上进行不定时的自我测评,对于学生学习也有极大的帮助。

1.3 国内外在线考试系统研究现状

对比国内高校,国外高校他们有着领先于国内的技术,在人才以及历史资料中的优势同样是国内高校所不具备的。大规模的技术团队在国外高校基本都存在,他们为自己提供了各项的技术支持。而往往国内高校是通过直接或间接的获取别人的经验来应用。在实现数字校园的过程中,国内高校正在不断的追赶。从一开始的购买别人研究成果运用,到现在开始在即培养人才来开发,渐渐的形成了具有一定规模的现代化信息建设体系。然而,由于整体网络化的氛围相对落后,理论体系的不健全等原因,国内高校信息管理系统在机构设置、服务层面、服务质量及人员等要求上和国外高校都有一定的差距。

剩余内容已隐藏,请支付后下载全文,论文总字数:14964字

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

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;