Smart 系统—
公共资源模块的设计与开发
Smart 系统—
公共资源模块的设计与开发
摘 要
随着教育改革的不断深化,中小学的建设与发展对国民整体素质的提高起着
越来越重要的作用,拥有一套适合校情的在线考试评估系统、将信息技术用于校
务管理评估中便是迫切的要求。SMART 系统是一个在线考试信息管理系统,该
系统主要实现了学生在线考试与评估以及教师对学生在线考试信息的管理和维
护。
本文涉及到的公共资源模块,它作为 SMART 项目的一个组成部分,占有十
分重要的作用,它是后面所有模块的基础,这个模块的设计质量关系到整个系统
的开发质量。为保持系统的先进性、灵活性、安全性和扩展性,模块采用 MVC
架构以及 Struts、Spring、Jsp、Hibernate 等等一些目前流行的技术和组件。整个
模块包括地区资源、教务资源、试题资源、试卷资源等功能模块。通过这些模块
的应用,可以满足 SMART 系统的公共需求,对 SMART 系统的应用和发展起到
一定的促进作用。
关键词:统计评估;Struts;Jsp;Hibernate;Spring
The Smart system—
The Design and Implementation of the Public Resources Module
Abstract
With the continuous deepening of educational reform, the construction and
development of elementary and middle schools play an increasingly important role to
raise the overall quality. Having one automatic Online test system which is used in the
school Appraisal management is an urgent requirement. SMART system is an
information management system about Online examination, the system is mainly
about the examination and evaluation of students and the teachers' management and
maintenance of students' examination information on network.
The public resource module which is a part of the SMART system has the
extremely vital role in the wholes system. It is foundation modules of system
framework, so this module’s designing quality relates the overall system’s quality. In
order to keep the advanced, agility, security and expansibility, the MVC framework,
the Struts, the Spring, the Jsp and the Hibernate and so on the prevailing technologies
and components are used in the system. The whole module includes the academic
resources module, the questions resources module, the papers resources module and
so on. Through the research results of this subject, the system combines the present
education; promote the development prospect of the educational trade.
Key words: statistics and appraisal; Struts; Jsp; Hibernate; Spring
目 录
论文总页数:29 页
1 引言.................................................................................................................................................1
1.1 课题起源.............................................................................................................................1
1.2 课题目的.............................................................................................................................1
1.3 课题意义.............................................................................................................................1
2 系统实现架构环境与技术说明....................................................................................................1
2.1 系统架构.............................................................................................................................1
2.2 系统实现环境和技术.........................................................................................................2
2.2.1 开发环境.................................................................................................................2
2.2.2 运行环境................................................................................................................2
2.3 系统框架说明.....................................................................................................................2
2.3.1 struts 介绍..........................................................................................................2
2.3.2 理解 MVC 设计模式................................................................................................5
2.3.3 spring 介绍..........................................................................................................5
2.3.4 hibernate 组件介绍.............................................................................................6
2.3.5 jsp 组件介绍.........................................................................................................6
2.3.6 SQL Server 2000 介绍.........................................................................................7
2.3.7 Tomcat 介绍...........................................................................................................8
3 功能需求分析................................................................................................................................9
3.1 功能需求.............................................................................................................................9
3.1.1 公共资源管理........................................................................................................9
3.1.2 教务资源管理..........................................................................................................9
3.1.3 试题资源管理..........................................................................................................9
3.1.4 试卷资源管理..........................................................................................................9
3.2 非功能需求.........................................................................................................................9
4 数据库设计...................................................................................................................................10
5 系统模块的设计与实现..............................................................................................................13
5.1 系统模块的设计...............................................................................................................13
5.1.1 公共资源管理模块设计......................................................................................13
5.1.2 教务资源管理模块设计........................................................................................14
5.1.3 试题资源管理模块设计........................................................................................15
5.1.4 试卷资源管理模块设计........................................................................................15
5.2 系统模块的实现..............................................................................................................15
5.2.1 公共资源管理模块实现......................................................................................16
5.2.2 教务资源管理模块实现......................................................................................20
5.2.3 试题资源管理模块实现......................................................................................21
5.2.4 试卷资源管理模块实现......................................................................................24
6 测试..............................................................................................................................................25
结 论..........................................................................................................................................26
参考文献..........................................................................................................................................27
致 谢..........................................................................................................................................28