Jadewell love 羔羔
XX 大 学
毕业设计(论文)
题目: 基于Java技术的在线考试
系统的开发
学 院: 专 业: 班 级: 学 号: 学生姓名: 指导老师:
2009年6月9日
I
Jadewell love 羔羔
摘 要
在线考试系统旨在实现考试的无纸化管理,对一些科目的考试可以通过互联网络或局域网进行,方便校方考务的管理,也方便了考生,尤其适合考生分布广,不易集中的远程教育。我主要开发系统的后台管理系统—JAVA在线考试管理子系统,它包括试题管理、考生管理、在线制作试卷、控制学生考试的设置、试卷审批等功能。本论文主要介绍了对JAVA在线考试管理子系统的分析、设计和开发的全部过程。运用ER图,程序流程图等对在线管理子系统的设计过程进行详细的说明。
全文共分为开发方案、需求分析、系统设计、关键技术解决,结论五部分。开发方案中主要介绍开发在线考试系统得目的、开发方案的选择及开发框架的技术的确定;需求分析介绍了在线考试系统的总体需求及系统各模块的功能需求;系统设计介绍了系统设计的指导思想、数据库的设计、系统模块的设计;关键技术介绍了在具体实现时需解决的一些技术,如开发框架的整合技术、开发框架与数据库的连接及数据的备份与还原。
本毕业设计的内容是设计并且实现一个基于web技术的在线考试系统,故而系统主要以j2EE作为开发基础,主要使用了struts+spring等多种协议或技术,用eclipse作为开发工具,以MYSQL作为数据库,以Macromedia公司的Dreamweaver作为界面美化工具。基本实现了网上考试系统应有的主要功能模块,包括:管理员的登录,管理和维护;用户注册、登录、注销,个人信息的查询、修改;考试管理,套题管理,成绩管理。该系统界面简单、操作方便,容易维护。
关键词:在线考试 j2EE struts + spring
II
Jadewell love 羔羔
Development of an Online Examination System Based
on Java Technology
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 background of my main development system management system-JAVA-line examination management subsystem, which includes questions management, candidate management, on-line production of papers, control of student test set, paper processing and other functions. This paper introduces online examination management subsystem on the JAVA analysis, design and development of the whole process. Using ER diagram, process flow charts and other on-line management subsystem design process detail. Paper is divided into development programs, requirements analysis, system design, key technical solutions, the conclusion of five parts. Development program introduces the development of online examination system was the purpose, development plan and development framework for the choice of identification technology; demand analysis describes the overall demand for online examination system and the system functional requirements of each module; system designed for the guidance system design thinking, database design, system design module; key technology introduced to be addressed in the detailed realization of some technologies, such as the integration of technology development framework, development framework and the database connection and data backup and restore.
The contents of this graduation project is to design and implement a web-based technology, online examination system, Guer system based mainly j2EE as the development, mainly using struts + spring and other agreements or technology, using eclipse as a development tool to MYSQL as the database to Macromedia's Dreamweaver as a landscaping tool interface. 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
III
Jadewell love 羔羔
management, performance management. The system interface is simple to operate, easy to maintain.
Keywords: Online Examination j2EE struts + spring
IV
Jadewell love 羔羔
目录
摘 要II Abstract III
第一章 引言 ...................................................................................................... 1 1.1 1.2 1.3
课题背景 .............................................................................................. 1 课题目的和意义 .................................................................................. 1 本文结构 .............................................................................................. 1
第二章 系统应用的关键技术 .......................................................................... 1 2.1 JSP技术介绍 ........................................................................................... 1 2.1.1 JSP的概述 ......................................................................................... 2 2.1.3 JSP的强势与劣势 ............................................................................. 2 2.1.4 JSP与ASP的比较............................................................................ 3 2.2 Java组件JavaBeans ................................................................................ 4 2.2.1 什么是JavaBeans ............................................................................. 4 2.2.2 JSP与JavaBeans的关系 .................................................................. 4 2.3 J2EE概述 ................................................................................................. 4 2.4关于Struts ................................................................................................ 5 2.4.1 Struts简介.......................................................................................... 5 2.4.2 Struts的主要功能.............................................................................. 5 2.4.3 Struts工作原理.................................................................................. 6 2.5 关于Spring.............................................................................................. 7 2.5.1 Spring简介 ........................................................................................ 7 2.5.2 为什么需要Spring ........................................................................... 8 2.5.3 Spring带给我们什么 ........................................................................ 8 2.6 关于B/S开发模式 ................................................................................. 9 2.6.1为什么引入B/S开发模式 ................................................................ 9 2.7.1 mysql的特点 ..................................................................................... 9 2.7.2 mysql的安装和配置(部分截图)[12]........................................... 10 2.8 Tomcat服务器 ....................................................................................... 12 2.8.1 Tomcat 服务器简介 ........................................................................ 12 2.8.2 Tomcat的特点 ................................................................................. 12 2.8.3 Tomcat的优势 ................................................................................. 12 2.8.4 Tomcat服务器的安装和配置 ......................................................... 13 小结 13
第三章 系统需求分析和总体设计 ................................................................ 14 3.1 系统功能需求 ....................................................................................... 14
V