西安建筑科技大学 本科毕业设计(论文)
题 目
学生姓名 学 号 院(系) 专 业 指导教师 时 间
网上在线考试系统的
开发
摘要
在线考试系统旨在实现考试的无纸化管理,通过互联网络或局域网可以对一些客观试题为主的科目进行考试,既方便校方考务的管理,也方便了考生,尤其适合考生分布广,不易集中的远程教育。
本设计以j2EE作为开发基础,用eclipse作为开发工具,主要使用了Struts+Spring+Hibernate等多种协议或技术,以Mysql作为数据库,完成了在线考试系统中考生和教师模块的基本功能,其中包括考生在线修改个人信息维护、在线考试、在线练习、查询考试记录、查询练习记录、查询成绩、等功能;教师的个人信息维护、在线出题、在线组卷、随机组卷、查询成绩、修改信息等功能。该系统界面简单、操作方便、维护容易,经过测试,系统可靠性良好。
关键词:在线考试,j2EE,Struts+Spring+Hibernate
第 I 页
The design of an Online Examination System Based on
internet Abstract
Online examination system to achieve paperless management of examinations, the examination of some subjects through the Internet or LAN, to facilitate the management of the school Examination, candidates are also convenient, especially for candidates widely distributed, easy to focus on distance education .
The contents of this graduat, Guer system based mainly j2EE as the development, mainly using struts + spring+hibernate and other agreements or technology, using eclipse as IDE, MYSQL as the database. Basically an online examination system should be the main functional modules, including: an administrator's login, management and maintenance; user registration, login, logout, personal information, access, correction; test management, problem sets of management, performance management. The system interface is simple to operate, easy to maintain.
Keywords: Online Examination;J2EE;MYSQL;Struts+Spring+Hibernate
第 II 页
目录
1 绪论 .......................................................................................................................... 1
1.1 课题背景 ....................................................................................................... 1 1.2 课题目的和意义 ........................................................................................... 1 2 系统应用的关键技术 .............................................................................................. 3
2.1 JSP技术介绍 ................................................................................................. 3
2.1.1 JSP的概述 .......................................................................................... 3
2.1.2 JSP的运行机制 .................................................................................. 3 2.1.3 JSP与ASP的比较 ............................................................................ 3 2.2 Java组件JavaBeans ...................................................................................... 4
2.2.1 什么是JavaBeans .............................................................................. 4 2.2.2 JSP与JavaBeans的关系 ................................................................... 4 2.3 关于Struts2 .................................................................................................. 5
2.3.1 Struts2简介 ........................................................................................ 5 2.3.2 Struts2的工作原理 ............................................................................ 5 2.3.3 Struts2与Struts1的区别 ................................................................... 6 2.4 关于Spring ................................................................................................... 7
2.4.1 Spring简介 ......................................................................................... 7 2.4.2 为什么需要Spring ............................................................................ 7 2.4.3 为什么使用Spring ............................................................................ 7 2.5 关于Hibernate .............................................................................................. 8
2.5.1 Hibernate简介 .................................................................................... 8 2.5.2 Hibernate的优势是什么 .................................................................... 8 2.6 关于Mysql ................................................................................................... 8 2.7 Tomcat服务器 ............................................................................................... 9 2.7.1 Tomcat服务器简介 ............................................................................ 9 2.7.2 Tomcat的特点与优势 ........................................................................ 9 2.7.3 Tomcat服务器的安装和配置 ............................................................ 9 2.8 关于B/S开发模式 ..................................................................................... 10
2.8.1 B/S与C/S有什么区别 .................................................................... 10 2.8.1 为什么使用B/S开发模式 .............................................................. 10
3 系统需求分析和总体设计 .................................................................................... 11
第 III 页