基于J2EE架构的在线考试系统开发

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

大连民族学院本科毕业设计(论文)基于J2EE架构的在线考试系统开发学院(系):计算机科学与工程专业:软件工程学生姓名:冯靓学号:06082102指导教师:苏飞评阅教师:完成日期:2010年6月8日大连民族学院基于J2EE架构的在线考试系统开发-I-摘要随着计算机互联网的不断发展,学生考试的技术手段和载体发生了划时代的变化。计算机技术、网络技术和考试理论的日渐成熟,使考试从传统的纸笔考试到计算机辅助考试再发展到基于互联网的在线考试成为现实。基于互联网技术支持的在线考试系统就是借助遍布全球的因特网,考试既可在本地进行,也可在异地进行,大大拓展了考试的灵活性。而且智能组卷系统,自动阅卷评分和试卷分析将教师从繁重的工作中解脱出来,这大大提高了工作效率,真正的实现了无纸化考试。本系统采用Struts+JavaBean框架建立了一个比较完善的B/S模式的智能在线考试系统,本系统主要是为了能满足公司各个部门的标准化考试的功能需求,以求使得考试形式更具智能化、更具合理性。在Struts框架中,模型分为两个部分:系统的内部状态和可以改变状态的操作(事务逻辑)。内部状态通常由一组ActionFormJavaBean表示。根据设计或应用程序复杂度的不同,这些Bean可以是自包含的并具有持续的状态,或只在需要时才获得数据。用DAO设计模式封装数据,使得系统结构清晰,数据库操作与业务逻辑各自独立,也利于系统功能的扩展。关键词:在线考试系统;DAO设计;Struts+JavaBean框架基于J2EE架构的在线考试系统开发-II-ThedevelopmentOfAOnlineExaminationSystemBasedOnJ2EEAbstractWiththecontinuousdevelopmentoftheInternet,studentsexaminationtechniquesandvectorepoch-makingchangeshavetakenplace.Computertechnology,networktechnologyandthematuringofthetheoryexaminationinorderthattheexaminationfromthetraditionalpenandpaperexamstocomputer-aidedre-examinationofthedevelopmentofInternet-basedonlineexamtobecomeareality.Internet-basedtechnicalsupportistomakeuseofonlineexaminationsystemoftheInternetaroundtheworld,theexaminationcanbeconductedlocallyandcanalsobecarriedoutindifferentplaces,greatlyexpandingtheflexibilityoftheexam.Paperandintelligentsystem,automaticscoringandtestscoreanalysiswillbeteachingfromtheheavyworkout.Thisgreatlyenhancedtheefficiencyoftherealizationofatrulypaperlessexamination.ThesystemusesaStruts+JavaBeanframeworkfortheestablishmentofamorecompleteB/Smodesmartonlineexaminationsystem,thesystemismainlyinordertomeetthedepartmentsofthecompany’allthefunctionsofthestandardizedtestrequirements,inordertomakeexamformofmoreintelligent,morereasonable.IntheStrutsframework,themodelisdividedintotwoparts:thesystem'sinternalstateandcanchangethestateofoperations(businesslogic).InternalstatebyagroupofnormallyexpressedActionFormJavaBean.Accordingtothedesignorapplicationofdifferentcomplexity,theBeancanbeself-containedandhascontinuedtostate,oronlyreceivedatawhenneeded.DAOdesignpatternwiththedatapackage,makingaclearsystemarchitecture,databaseandbusinesslogictooperateindependently,butalsoconducivetotheexpansionofsystemfunctions.KeyWords:on-lineexaminationsystem;DAOdesign;Struts+JavaBeanframework基于J2EE架构的在线考试系统开发-III-目录摘要.....................................................................................................................................IAbstract.....................................................................................................................................II1绪论......................................................................................................................................11.1选题目的和意义..........................................................................................................11.2国内外研究动态..........................................................................................................11.3本文研究的主要内容..................................................................................................22相关技术介绍........................................................................................................................32.1J2EE框架....................................................................................................................32.1.1概述...................................................................................................................32.1.2J2EE分布式模型.............................................................................................32.1.3J2EE的特点.....................................................................................................42.2MVC模式与应用........................................................................................................42.2.1MVC体系结构.................................................................................................42.3基于J2EE的MVC模式的实现................................................................................52.3.1Model:系统状态和商业逻辑JavaBeans.........................................................62.3.2View:JSP页面和表示组件..............................................................................62.3.3Controller:ActionServlet和ActionMapping....................................................62.4JSP简介.......................................................................................................................72.5支持JSP的服务器软件..............................................................................................72.5.1ApacheTomcat简介........................................................................................72.6JDBC接口技术...........................................................................................................82.6.1JDBC简介........................................................................................................82.6.2JDBC与数据库的连接....................................................................................82.7考试系统开发环境简介...................................................................

1 / 35
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功