基于JSP的毕业设计选题系统的设计与实现论文
基于JSP网上选课系统毕业论文

基于JSP网上选课系统毕业论文目录1 绪论 (1)1.1 课题背景 (1)1.2 课题现状 (1)1.3 课题目标 (2)1.4 课题意义 (2)2 网上选课系统需求分析 (2)2.1 需求分析 (2)2.2 可行性分析 (5)2.3 系统配置要求 (5)3 网上选课系统总体设计 (5)3.1 项目规划 (5)3.2 设计目标 (6)3.3 相关技术介绍 (6)3.4 数据库分析设计 (8)3.5 系统模块设计 (13)4 网上选课系统详细设计和实现 (15)4.1 主界面设计 (15)4.2 界面头尾设计 (16)4.3 登录界面 (16)4.4 学生用户界面设计 (16)4.5 管理员用户界面设计 (24)4.6 教师用户界面设计 (29)4.7 系统后台模块 (30)5 网上选课系统测试 (32)5.1 测试目的 (32)5.2 测试环境 (33)5.3 测试结果 (33)总结 (39)参考文献 (40)致谢 (41)1 绪论1.1 课题背景Internet的发展使我们的教育更加现代化,网上信息管理是现代教育中的一个热点。
教师跟学生之间的信息传播只在一指之间,为现代教育创造了方便快速的途径。
但在安全性和信息更新化方面存在有一定的不足,各现有系统资料单独建立,共享性差;在以管理者为主体的方式中,信息取舍依赖管理者对于信息的认知与喜好,较不容易掌握用户真正的需求,也因此无法完全满足用户的需求。
目前国家的教育体制也正处在不断改革、创新的阶段,我国教育部门充分吸取国外优秀的教学模式,结合国多年的办学经验,逐步探索出适合中国特色的教学形式,国家教育部面向各级各类学校开展了全面学分制改革。
因此,教学管理软件应充分依托校园网,实现教学信息的集中管理、分散操作、信息共享,使传统的教学管理朝数字化、无纸化、智能化、综合化的方向发展,并为进一步实现完善的计算机教学文件管理系统和全校信息系统打下良好的基础。
学校教育是培养和输送人才的摇篮,它随着人类进步的程度和地区的不同而变化,教育的口径不断扩宽,对教育的要求也不断提高。
基于JSP毕业设计选题管理系统设计与实现

T o m c a t是 由 A p a c h e软 件 基 金 会 下 属 的 J a k a r t a 项 目开 发 的 一 个 S e r v l e t 容器, 按照 S u n
( 4 ) 应用 程序 服务 器 的连接 器 ; ( 5 ) J 2 E E项 目部署 服务 ; ( 6 ) 数 据库 服务 ;
一
( 7 ) My E c l i p s e整合 帮助 .
对 于 以上 每 一 种 功 能 上 的 类 别 , 在E c l i p s e
中都有相 应 的功能 部件 , 并通 过 一 系列 的插 件 来 实 现它 们. My E c l i p s e结 构上 的这种 模 块 化 , 可 以 让我们 在不 影 响其他 模块 的情 况下 , 对 任 一模 块 进行 单独 的扩展 和升 级 . 简单 而 言 , M y E c l i p s e是 E c l i p s e的 插 件 , 也
V0 L 3 2 No . 3
基于 J S P毕 业 设 计 选 题 管 理 系 统 设 计 与 实 现
闫 丹
( 山 西 管 理 职 业学 院 , 山西
临汾 0 4 1 0 5 1 )
[ 摘
要] 系统 以 J S P技 术 为主要 手段 , O r a c l e为后 台数据 库 , 采 用 多级 角 色管理 , 包括 系统 管
2 0 1 3年 5月
重 庆文 理 学 院学 报
J o u r n a l o f C h o n g q i n g Un i v e r s i t y o f Ar t s a n d S c i e n c e s
基于JSP的毕业设计信息管理系统的设计论文

摘要随着全球化信息技术的兴起,特别是Internet的日益普及,我国各大中专院校都建立了自己的校园网。
毕业生以班级为单位的原始手工报送的毕业设计选题方式已经不能适应时代发展的需求,所以基于互联网的毕业设计信息管理系统也就孕育而生了。
毕业设计信息管理系统就是能够使学生通过互联网完成毕业设计课题的选定,它采用Web方式,同时适用于局域网和Internet,它要实现审核,权限管理等功能,并能提供毕业设计课题保存、课题查询等功能,该系统同时能够进行权限的判断,同时对用户和毕业设计课题进行多种操作。
本系统采用了JSP技术为主要手段,Oracle为后台数据库,本系统采用了多级角色管理:包括系统管理员、教师和学生三种权限。
本文主要介绍了教师权限的功能,并详细地论述了系统设计的思想和实现的方法步骤从而为以后的研究打下了基础。
关键词:信息管理系统;网络;JSP目录1 引言 (3)1.1 系统开发背景 (3)1.2 系统开发的目的意义 (3)2 开发工具、技术简介及运行环境 (3)2.1 开发工具简介 (3)2.1.1 Tomcat 简介 (3)2.1.2 MyEclipse 简介 (4)2.2 开发技术简介 (4)2.2.1 JSP简介 (4)2.2.2 JDBC简介 (5)2.2.3 Oracle 数据库简介 (5)3 需求分析与总体设计 (6)3.1 系统需求分析 (6)3.2 可行性分析 (6)3.3 系统设计思想 (7)3.4 数据库设计 (7)3.4.1 数据库需求分析 (7)3.4.2 数据库逻辑结构设计 (8)3.5 系统功能设计 (9)3.6 系统功能图 (10)3.7 系统功能流程图 (10)4 部分详细设计和实现 (12)4.1 系统页面主题设计 (12)4.2 数据库操作类 (12)4.3 教师界面及其基本功能的实现 (15)4.3.1 教师登录 (15)4.3.2 教师在线出题 (16)4.3.3 毕业设计课题查询 (17)4.3.4 毕业设计课题修改 (18)4.3.5 查询已选课题名单 (21)4.3.6 安全管理 (21)5 软件测试 (23)5.1 软件测试的目的 (23)5.2 系统测试 (23)结论 (24)参考文献 (25)致谢 (26)1 引言1.1 系统开发背景随着物质化办公的日益普及,信息的自动处理以及网络式的信息交互方式越来越被人们认可和应用。
基于JSP的毕业论文系统的设计与实现(全文)

基于JSP的毕业论文系统的设计与实现随着计算机及XX络的进展和普及,各高校的校园XX络技术不断完善,健全,学生和老师使用XX络来进行学习和工作的机会越来越多,毕业设计和论文史学生在校期间的最重要的一个学习过程之一,所以,使用信息化治理毕业设计和论文势必要取代手把手教学的模式。
该系统是高校进行学生治理工作的一部分,也是学生和教师互动的接口,它的应用给学生,老师,行政部门都带来了大大的方便,既节省了教师与学生的宝贵时间,也规范和完善了毕业设计这个环节的治理。
1 系统简介及使用工具本系统的功能是进行毕业设计,由学院布置教师的毕业设计指导任务,让学生选题,准备开题,教师同意开题后教师和学生在XX站上进行交流,完善设计后开始撰写论文,毕业论文完毕,学生开始答辩,由教师审核并给出修改意见,最后教师给出成绩。
毕业论文系统采纳了JSPXX站开发技术,XX页设计软件Dremwever 8,SQL Server数据库技术,JDBC数据库连接技术来制作。
JSP技术以Jv Servlet为基础,保留了Jv技术简单易用、面向对象、平台无关性和安全可靠的特点。
Dremwever 8可以使用服务器技术(例如,CFML,SP,,JSP和PHP)生成动态的、数据库驱动的Web应用程序。
SQL Server采纳SQL语句执行操作,这些语句可以作为脚本语句直接在数据库环境中编译运行,还可以嵌入到其他宿主语言中去。
JDBC可以连接的数据库包括Orcle,SQL Server, MYSQL,Sybse, DB2,ccess,来满足不同编程人员对数据库开发的要求。
2 系统的功能设计根据毕业设计和论文的完成要求,功能分为3个模块,包括教师,学生,治理人员。
系统的功能模块划分如下:治理员:设置功能与权限,学生与教师信息治理,题目审核,论文指导工作安排,公布公告,指导教师与学生调剂,数据保存,生成报表和文件教师:教师基本信息,论文题目,查看选题,处理题目,论文查看,公告与回复,成绩评定学生:学生的信息,指导教师与题目,选题功能,提交论文与发言,查看成绩3 系统的实现3.1 系统前台和后台的实现系统的前台实现主要使用控件,后台功能的实现使用代码,列举其中2个功能模块的实现过程如下:学生注册页面的实现学生注册信息包括学号,姓名,专业,班级,电子邮件,联系电话,QQ号码其后台功能代码是:3.2 系统数据库的实现本系统的功能就是教师指导学生进行毕业设计,由学院布置教师的毕业设计指导任务,由教师先给出专业方向让学生选题,审题后布置任务,学生开始收集资料并准备开题,教师确定开题后学生开始进行毕业设计,在设计期间教师和学生在XX站上进行交流,完善设计后开始撰写论文,教师一直都在XX站上辅导,到了规定的时间,毕业论文完毕,学生开始预答辩,由教师审核并给出修改意见,学生正式答辩,教师在答辩后再给出完善意见来达到最中意的程度,最后教师根据整个毕业设计指导过程结合答辩组的意见给出成绩,最后将答辩的所有相关文件和资料都保存到XX站上供其他人来扫瞄。
毕业设计(论文)-jsp在线选课系统设计与实现[管理资料]
![毕业设计(论文)-jsp在线选课系统设计与实现[管理资料]](https://img.taocdn.com/s3/m/5311697102d276a201292e17.png)
在线选课系统的设计与实现摘要由于学校教学制度的改革,现在大部分高等院校开始实行的是学生的自主选课模式,传统的教学模式(学生按照学校安排好的课程上课)已经不能适应新型的教学手段,如果仍然通过纸上的方式选课,一方面浪费的大量的人力、物力资源,另一方面浪费时间以及在人为的统计过程中不可避免出现的差错等情况。
随着高校人数的增多,这种弊端会越来越多的暴露出来。
在线选课系统的实现显得尤为必要。
针对学生选课这一环节,本系统从学生网上自主选课以及教师的课程发布和管理员信息管理三个大方面进行了设计,基本实现了学生的在线信息查询、选课功能以及教师对课程信息发布的管理和管理员对学生和教师信息的管理等功能。
关键词:在线选课;B/S 结构;JSP;J2EE;MySQL;Online Course Selection System Design andImplementationAbstractAs the reform of school education, most colleges and universities are now beginning to implement the student's own course selection patterns, the traditional teaching model (the students arranged in accordance with school curriculum classes) can not adapt to new teaching methods, if they remain on paper on the way to course selection, on the one hand and waste a lot of manpower, material resources, on the other hand a waste of time and in the process of artificial statistical errors inevitably occur and so on. With the increasing number of universities, such shortcomings would be exposed more and more. Online Course Selection System is particularly essential. Elective for students in this part of the system independently from the online course selection students and teachers and administrators released information management courses are three major aspects of the design, the basic realization of the students online information inquiry, course selection function as well as teachers of the curriculum information dissemination management and administrators to students and teachers to information management.Key Words:Online course selection; B / S structure; JSP; J2EE; MySQL;目录摘要 (I)Abstract..................................................................................................................................... I I 前言...................................................................................................................................... 11设计的可行性....................................................................................................................... 2......................................................................................................................................... 2 ......................................................................................................................................... 3网上选课系统的产生............................................................................................ 3网上选课系统的可行性........................................................................................ 32 相关软件及技术介绍.......................................................................................................... 4Myeclipse ..................................................................................................................... 4MySQL ......................................................................................................................... 4Tomcat .......................................................................................................................... 5HTML 语言介绍........................................................................................................... 5JSP 介绍........................................................................................................... 6J2EE 技术介绍 ............................................................................................................. 7Struts 框架 .................................................................................................................... 8Hibernate 框架.............................................................................................................. 83系统概述............................................................................................................................... 9项目范围........................................................................................................................ 9设计策略........................................................................................................................ 94系统总体设计................................................................................................................... 10系统结构设计............................................................................................................ 10模块间的调用关系............................................................................................ 11.............................................................................................................................. 145 数据库设计说明.............................................................................................................. 15..................................................................................................................................... 15数据库逻辑设计........................................................................................................ 19数据库设计................................................................................................................ 196 详细设计.......................................................................................................................... 23教师/学生/管理员登录功能...................................................................................... 23学生选课功能............................................................................................................ 29教师添加课程:........................................................................................................ 31管理员操作................................................................................................................ 337 设计过程中的问题及解决.............................................................................................. 36数据库的连接............................................................................................................ 36参数的传递................................................................................................................ 36公共数据.................................................................................................................... 368 总结.................................................................................................................................. 37参考文献........................................................................................................................ 38致谢................................................................................................................................ 39前言随着网络时代的到来B/S结构的管理系统已经成熟的运用在学校、企业、银行、科研机构、政府等各行各业并扮演着不可或缺的角色。
基于jsp的高校选排课系统的设计与实现生(外文翻译学士学位论文

本科生毕业设计(论文)外文翻译毕业设计(论文)题目:基于JSP的高校选排课系统的设计与实现外文题目:Overview of JSP Technology译文题目:JSP技术概述学院:软件学院专业:软件工程学生姓名:学生班级:软件工程1102班学生学号:指导教师:Overview of JSP TechnologyAutor: Zambon Giulio/ Sekler MichaelSource: Springer-Verlag New York Inc1.Benefits of JSPJSP pages are translated into servlets. So, fundamentally, any task JSP pages can perform could also be accomplished by servlets. However, this underlying equivalence does not mean that servlets and JSP pages are equally appropriate in all scenarios. The issue is not the power of the technology, it is the convenience, productivity, and maintainability of one or the other. After all, anything you can do on a particular computer platform in the Java programming language you could also do in assembly language. But it still matters which you choose.JSP provides the following benefits over servlets alone: It is easier to write and maintain the HTML. Your static code is ordinary HTML: no extra backslashes, no double quotes, and no lurking Java syntax.You can use standard Web-site development tools. Even HTML tools that know nothing about JSP can be used because they simply ignore the JSP tags.You can divide up your development team. The Java programmers can work on the dynamic code. The Web developers can concentrate on the presentation layer. On large projects, this division is very important. Depending on the size of your team and the complexity of your project, you can enforce a weaker or stronger separation between the static HTML and the dynamic content.Now, this discussion is not to say that you should stop using servlets and use only JSP instead. By no means. Almost all projects will use both. For some requests in your project, you will use servlets. For others, you will use JSP. For still others, you will combine them with the MVC architecture . You want the appropriate tool for the job, and servlets, by themselves, do not complete your toolkit.2. Advantages of JSP Over Competing TechnologiesA number of years ago, Marty was invited to attend a small 20-person industry roundtable discussion on software technology. Sitting in the seat next to Marty was James Gosling, inventor of the Java programming language. Sitting several seats away was a high-level manager from a very large software company in Redmond, Washington. During the discussion, the moderator brought up the subject of Jini, which at that time was a new Java technology. The moderator asked the manager what he thought of it, and the manager responded that it was too early to tell, but that it seemed to be an excellent idea. He went on to say that they would keep an eye on it, and if it seemed to be catching on, they would follow his company's usual "embrace and extend" strategy. At this point, Gosling lightheartedly interjected "You mean disgrace and distend."Now, the grievance that Gosling was airing was that he felt that this company would take technology from other companies and suborn it for their own purposes. But guess what? The shoe is on the other foot here. The Java community did not invent the idea of designing pages as a mixture of static HTML and dynamic code marked with special tags. For example, ColdFusion did it years earlier. Even ASP (a product from the very software company of the aforementioned manager) popularized this approach before JSP came along and decided to jump on the bandwagon. In fact, JSP not only adopted the general idea, it even used many of the same special tags as ASP did..So, the question becomes: why use JSP instead of one of these other technologies? Our first response is that we are not arguing that everyone should. Several of those other technologies are quite good and are reasonable options in some situations. In other situations, however, JSP is clearly better. Here are a few of the reasons.2.1Versus .NET and Active Server Pages (ASP)NET is well-designed technology from Microsoft. is the part that directly competes with servlets and JSP. The advantages of JSP are two fold.First, JSP is portable to multiple operating systems and Web servers; you aren't locked into deploying on Windows and IIS. Although the core .NET platform runs on a few non-Windows platforms, the ASP part does not. You cannot expect to deploy serious applications on multiple servers and operating systems. For some applications, this difference does not matter. Forothers, it matters greatly.Second, for some applications the choice of the underlying language matters greatly. For example, although .NET's C# language is very well designed and is similar to Java, fewer programmers are familiar with either the core C# syntax or the many auxiliary libraries. In addition, many developers still use the original version of ASP. With this version, JSP has a clear advantage for the dynamic code. With JSP, the dynamic part is written in Java, not VBScript or another ASP-specific language, so JSP is more powerful and better suited to complex applications that require reusable components.You could make the same argument when comparing JSP to the previous version of ColdFusion; with JSP you can use Java for the "real code" and are not tied to a particular server product. However, the current release of ColdFusion is within the context of a J2EE server, allowing developers to easily mix ColdFusion and servlet/JSP code.2.2 Versus PHPPHP (a recursive acronym for "PHP: Hypertext Preprocessor") is a free, open-source, HTML-embedded scripting language that is somewhat similar to both ASP and JSP. One advantage of JSP is that the dynamic part is written in Java, which already has an extensive API for networking, database access, distributed objects, and the like, whereas PHP requires learning an entirely new, less widely used language. A second advantage is that JSP is much more widely supported by tool and server vendors than is PHP.2.3 Versus Pure ServletsJSP doesn't provide any capabilities that couldn't, in principle, be accomplished with servlets. In fact, JSP documents are automatically translated into servlets behind the scenes. But it is more convenient to write (and to modify!) regular HTML than to use a zillion println statements to generate the HTML. Plus, by separating the presentation from the content, you can put different people on different tasks: your Web page design experts can build the HTML by using familiar tools and either leave places for your servlet programmers to insert the dynamic content or invoke the dynamic content indirectly by means of XML tags.Does this mean that you can just learn JSP and forget about servlets? Absolutely not! JSPdevelopers need to know servlets for four reasons:JSP pages get translated into servlets. You can't understand how JSP works without understanding servlets.JSP consists of static HTML, special-purpose JSP tags, and Java code. What kind of Java code? Servlet code! You can't write that code if you don't understand servlet programming.Some tasks are better accomplished by servlets than by JSP. JSP is good at generating pages that consist of large sections of fairly well structured HTML or other character data. Servlets are better for generating binary data, building pages with highly variable structure, and performing tasks (such as redirection) that involve little or no output.Some tasks are better accomplished by a combination of servlets and JSP than by either servlets or JSP alone.2.4 ersus JavaScriptJavaScript, which is completely distinct from the Java programming language, is normally used to dynamically generate HTML on the client, building parts of the Web page as the browser loads the document. This is a useful capability and does not normally overlap with the capabilities of JSP (which runs only on the server). JSP pages still include SCRIPT tags for JavaScript, just as normal HTML pages do. In fact, JSP can even be used to dynamically generate the JavaScript that will be sent to the client. So, JavaScript is not a competing technology; it is a complementary one.It is also possible to use JavaScript on the server, most notably on Sun ONE (formerly iPlanet), IIS, and BroadVision servers. However, Java is more powerful, flexible, reliable, and portable.3. Misconceptions About JSPForgetting JSP Is Server-Side Technology,Here are some typical questions Marty has received (most of them repeatedly).Our server is running JDK 1.4. So, how do I put a Swing component in a JSP page?How do I put an image into a JSP page? I do not know the proper Java I/O commands to read image files.Since Tomcat does not support JavaScript,how do I make images that are highlighted when the user moves the mouse over them?Our clients use older browsers that do not understand JSP. What should we do?When our clients use "View Source" in a browser, how can I prevent them from seeing the JSP tags?All of these questions are based upon the assumption that browsers know something about the server-side process. But they do not. Thus:For putting applets with Swing components into Web pages, what matters is the browser's Java version—the server's version is irrelevant. If the browser supports the Java 2 platform, you use the normal APPLET (or Java plug-in) tag and would do so even if you were using non-Java technology on the server.You do not need Java I/O to read image files; you just put the image in the directory for Web resources (i.e., two levels up from WEB-INF/classes) and output a normal IMG tag.You create images that change under the mouse by using client-side JavaScript, referenced with the SCRIPT tag; this does not change just because the server is using JSP.Browsers do not "support" JSP at all—they merely see the output of the JSP page. So, make sure your JSP outputs HTML compatible with the browser, just as you would do with static HTML pages.And, of course you need not do anything to prevent clients from seeing JSP tags; those tags are processed on the server and are not part of the output that is sent to the client.Confusing Translation Time with Request Time,A JSP page is converted into a servlet. The servlet is compiled, loaded into the server's memory, initialized, and executed. But which step happens when? To answer that question, remember two points: The JSP page is translated into a servlet and compiled only the first time it is accessed after having been modified.Loading into memory, initialization, and execution follow the normal rules for servlets.The most frequently misunderstood entries are highlighted. When referring to the table, note that servlets resulting from JSP pages use the _jspService method (called for both GET and POST requests), not doGet or doPost. Also, for initialization, they use the jspInit method, not the init method.JSP page translated into servlet Servlet compiled Servlet loaded into server's memory jspInit called _jspService called.JSP技术概述作者:赞邦.朱利奥/赛克勒.迈克尔出处: 施普林格出版社(纽约公司)1.JSP的好处JSP页面最终会转换成服务程序。
基于JSP的学生选课系统毕业设计

摘要随着科学技术的不断提高,计算机科学日渐成熟,其强大的功能已为人们深刻认识,它已进入人类社会的各个领域并发挥着越来越重要的作用。
学生选课系统作为一种现代化的教学技术,以越来越受到人民的重视,是一个学校不可缺少的部分, 学生选课系统就是为了管理好选课信息而设计的。
学生选课系统的将使选课管理工作规范化,系统化,程序化,避免选课管理的随意性,提高信息处理的速度和准确性,能够及时、准确、有效的查询和修改选课情况。
关键词:选课、课程信息发布、B/S、JSP目录第一章引言第二章相关技术介绍第一节Java技术 (2)第二节Servlet技术 (3)第三节Jsp技术 (4)第四节开发软件介绍 (5)4.1 eclipse平台 (5)4.2 Tomcat服务器 (6)4.3 SQL server 2000 (6)第三章系统分析第一节系统功能模块划分 (8)第二节系统功能类别划分 (8)第三节系统维护 (9)3.1 课程基本资料维护 (9)3.2 系部维护 (10)3.3 管理员维护 (10)第四节学生选课 (10)4.1 课程预览 (10)4.2 选课 (10)4.3 退课 (11)4.4 修改密码 (11)第五节教师课程查询 (12)5.1 查询课程情况 (12)5.2 修改密码 (12)第四章系统功能设计第一节系统功能设计图 (13)第二节数据库设计 (13)第三节页面及功能设计 (14)第五章总结第一章引言随着国内高校校园网的建设,基于互联网的应用系统的开发正在蓬勃发展并发挥着较大的作用。
例如,我国许多高校的网上招生系统,学校的各种管理信息系统,学校选课系统,还有一些医学院校开发出的网上诊所、远程诊断系统等等,都是基于校园网的应用系统。
学生选课系统是一个学校不可缺少的部分,它的内容对于学校的决策者和管理者来说都至关重要,所以学生选课系统应该能够为用户提供充足的信息和快捷的查询手段。
但一直以来人们使用传统人工的方式管理文件档案,这种管理方式存在着许多缺点,如:效率低、保密性差,另外时间一长,将产生大量的文件和数据,这对于查找、更新和维护都带来了不少的困难。
毕业设计论文—基于jsp(java)网络教学平台系统的设计和开发[管理资料]
![毕业设计论文—基于jsp(java)网络教学平台系统的设计和开发[管理资料]](https://img.taocdn.com/s3/m/4ddd30491a37f111f0855ba4.png)
毕业设计(论文)基于jsp(java)网络教学平台系统的设计和开发姓名系别、专业导师姓名、职称完成时间摘要远程教育作为现代教育技术的形式,给教育思想与技术带来了革命性的变革,己经成为现代教育的必然要求。
远程教育要得以顺利、高效的实施,必然离不开高效的管理与支撑平台环境。
,面向对象的系统开发平台以及对Web应用系统的支持,对象建模语言UML的基本知识。
然后主要介绍了以UML为建模语言,开发基于JSP/Servlet的网络教学管理系统的过程使用用例图,顺序图和活动图来寻找用户需求,明确用例中对象之间的关系,从而建立系统的用例模型;分析类,确定了系统中的对象抽象成类:这样完成了系统分析。
在系统设计过程中,首先设计系统构架,划分功能模块,并给出功能设计。
在功能设计中,构建设计类,运用设计类顺序图,类图来实现了系统的设计模型。
数据库设计给出数据库模型和数据库中各个表的字段结构。
最后一章对系统关键实现做了探讨,分别实现了用户身份鉴别,会话跟踪,数据库连接池和数据优化并对系统安全作出说明。
本文对如何运用面向对象的方法来快速高效的开发一个复用性良好的安全的网络应用程序提供了一个良好的思路。
关键词:远程教育,教学管理,UML,网络教学AbstractAs a representation of contemporary education, remote education, which has brought the traditional education revolutionary ideas and technologies and optimized the educational resources, has been the trend of the contemporary education. Remote education can't run well without an efficient management platform. To architect a teaching management system through internet based on JSP/Servlet becomes very important.The paper first introduces the development of remote education, the object-oriented development platform JSP and the brief knowledge of UML. Then a detailed introduction is given on the development process of a teaching management system through internet based on JSP with UML as modeling language. Constructing use case model through using use case diagram, sequence diagram and activity diagram to make clear user's requirement and the relation between objects in use case. Through analysing classes to confirm the objects in system and abstract them to classes. So the analysis of system is completed. Among the design process of system, designing the system architecture, partitioning the system to several subsystem and function models according to use cases and giving the function design of one subsystem. The function design includes the classes design and the following sequence diagram and class diagram. Database design involves a database logic model and the structure of all labels. In the end,I implement some key technologies of system such as user’s identity ,session track, database pool ,data process optimizing and system security. To ensure security, a reliable and practical security policy, in which container based declarative security is dominant and programmatic security is complementary, is given respectively to the web tier, EJI tier and data tier of the system according to the system framework .This article also supplies a good idea on how to develope reusable and safe web application quickly with object-oriented methodology.Key words:remote education, leaching management, JSP, UML目录1 引言 (1)网络教学系统的技术 (1)本系统的特点和意义 (2)2 系统核心技术特点 (2)web系统应用研究 (2)N层体系结构 (2)基于组件开发 (3)JSP/Servlet对web应用系统的支持 (3)3 系统分析 (4)用例分析 (4)用例建模 (5)标识参与者 (6)用例图 (6)顺序图 (7)活动图 (8)分析类 (10)边界类 (10)实体类 (10)控制类 (11)4 系统设计 (12)体系结构设计 (12)系统功能设计 (13)功能模块划分 (13)功能实现设计 (15)用例设计 (18)数据库设计 (19)数据库设计原则 (19)系统数据库设计 (20)5 关键技术及实现 (22)用户身份鉴别 (22)对会话的跟踪和处理 (23)数据库连接池的实现 (24)数据访问优化实现 (26)系统安全实现 (27)网络层安全 (27)数据层安全 (28)6 结束语......................................................................................................... 错误!未定义书签。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
基于JSP的毕业设计选题系统的设计与实现摘要随着全球信息化技术的兴起,特别是Internet的日益普及,我国各大中专院校都建立了自己的校园网。
毕业生以班级为单位的原始手工报送的选题方式已经不能适应时代发展的需求,所以基与互联网的毕业设计选题系统也就孕育而生了。
毕业设计选题系统就是能够使学生通过互联网完成毕业设计课题的选定,它采用Web方式,同时适用于局域网和Internet,它要实现审核,权限管理,邮件通知等功能,并能提供题目保存、题目查询等功能,该系统同时拥有最开放的题库管理系统和最灵活的选题系统,能够自动进行权限的判断,对用户进行冻结。
我们采用了JSP技术为主要手段,本系统采用了多级角色管理:包括系统管理员、系主任,学生和老师几种权限.本文主要介绍了用户权限的划分,并详细地论述了系统设计的思想和实现的方法步骤从而为以后的研究打下了基础。
关键词:审核;权限;多级角色管理Design and Application of Selected Topic System forGraduation Based on JSPAbstractWith the rising of global information technology, especially the growing prevalence of Internet, the technical institute colleges and universities in our country have set up their own Campus Net. For the traditional way of sending the selected graduates to the unit cannot adapt to the demands of the time, the Internet –based graduation system of selecting topic born.The selection system enables students to complete the choice of topic on graduation design by Internet. This system adopts Web, and be suited to the local area network and Internet. It must realize the verification, the jurisdiction management, mail notice etc. and can store and search for topics. With the most open topic management system and the most flexible elected topic system, it can automatically judge the jurisdiction and freeze the user .As we have used the JSP technology as a main method, the multistage role management has been adopted in this system, including the jurisdiction in the possession of system managers, deans, students and teachers. This paper mainly introduces the users’ jurisdiction division and elaborates the idea of system design and the methods and steps of realization, laying a solid foundation on further research.Key words: Verification; Jurisdiction; Multistage role management.目录论文总页数:23页1引言 (1)1.1选题系统出现的趋势 (1)1.2选题系统常用的实现技术 (1)2基本技术简介 (1)2.1本系统拟采用的解决方法(技术) (2)2.2主要技术简介 (2)3 需求分析与方案设计 (3)3.1功能需求分析 (3)3.2数据库需求 (3)3.3系统支撑环境 (4)4系统设计 (4)4.1 功能设计 (4)4.2 数据库设计 (4)4.2.1 系统登陆,用户会话表(BSM_SESSION_INFO) (4)4.2.2 系统用户信息管理表(BSM_SYS_USER) (5)4.2.3 毕业论文题库信息表(SUBJECT) (5)4.2.4 毕业论文选题信息管理表(SELECT_SUB) (6)5 系统功能实现 (7)5.1系统组成和业务流程图 (7)5.2系统用户权限管理 (8)5.2.1 系统登陆 (9)5.2.2系统用户管理 (11)5.2.3 历届信息查看 (13)5.2.4 个人信息维护 (13)5.3系统选题权限管理 (14)5.4教师题库管理 (15)5.4.1教师出题 (15)5.4.2教师审核题目 (16)5.5学生在线选题 (16)5.6系统登出 (18)5.7系统基本控件使用 (18)5.7.1数据库连接池实现 (18)5.7.2邮件系统实现 (19)6技术难点分析 (20)结论 (20)参考文献 (20)致谢 (21)声明 (22)附录 (23)TOMCAT简介 (23)1引言1.1选题系统出现的趋势在网络飞速发展的今天,互联网成为人们快速获取,发布和传递信息的重要渠道,在人们政治,经济,生活等各方面发挥着重要的作用。
因此网站建设在Internet应用上地位显而易见,它已成为政府,企事业单位信息化建设中的重要组成部分,从而倍受人们的重视。
从20世纪90年代初期随着www的发展,Internet逐渐普及化由于www通过良好的界面大大简化了Internet操作难度使得用户数量急剧增加,许多人开始重视Internet,发现到Internet具有巨大得潜力。
于是纷纷大量加入Internet。
这样Internet上得站点大大增加,网络信息五花八门,十分丰富。
如今Internet已经深入到人们生活得各个部分。
Internet大大方便了信息的传播,给人们带来了全新得生活方式。
这次我们所设计的课题正是互联网与大学生学习生活紧密相关的,现今的社会人们已经离不开网络,传统的选题方式也面临着变革,而网络选题则是一个很重要的方向。
基于Web技术的网络选题系统可以借助于遍布全球的Internet 进行,因此选题既可以在本地进行,也可以在异地进行,大大拓展了选题的灵活性。
题目可以根据题库中的内容生成,从而使用计算机选题大大的提高了选题效率;还可以直接把题目送到数据库中保存,作为老师以后出题的参考。
现在较好的选题方式为网络选题,题目内容放在服务器上,学生通过帐号和口令进行登陆,学生也可以第一时间得到选题信息。
因此,采用网络选题方式将是以后的大趋势。
1.2选题系统常用的实现技术网络选题系统的实现技术有多种,可以采用传统的客户机/服务器(C/S)型的MIS型架构,即论文题目内容放在远程的服务器上,在选题机上安装考试应用程序和数据库客户机配置,因此每次选题时要对机器进行安装、配置,这样一来选题工作比较烦琐;而且选题程序放在客户机上,安全性也受到一定影响。
另外一种考试系统采用Web 技术实现。
Web技术超越了传统的“客户机/服务器”两层结构,采用了三层体系结构:用户界面层/事务层/数据库层。
因此Web结构有着更好的安全性。
在用户机上不需要安装任何应用程序,应用程序可以安装在作为服务器的计算机上,题目存放在数据库服务器上(事务层和数据库可以是同一台机器)。
2基本技术简介本系统全称为毕业设计选题系统,开发的目的是为学生提供通过学校的网络进行毕业设计题目的选择。
2.1本系统拟采用的解决方法(技术)本系统要求实现网络选题系统的各项基本功能,从安全性和易维护性考虑,选择了Web实现技术。
简单的说就是将系统做成一种B/S模式,可以让用户通过浏览器直接访问位于服务器上的试题以及对系统进行远程维护。
服务器端程序的实现技术也很多,本人选用了当前比较流行的网络编程技术——JSP作为主要实现手段(配合Java Servlet,HTML等)。
JSP作为一种Web实现技术,它的效率是很高的。
这一点正好符合了选题系统所要求的实时性。
JSP自身的安全性,再加上实现模式的特点,完全能够达到选题的要求。
除此之外,作为Java平台的一部分,JSP拥有Java语言“一次编写,各处运行”的特点。
又随着越来越多的服务器供应商将JSP支持添加到他们的产品中,这样一来用JSP做成的这套系统可以轻松移植到其它平台来运行。
种种优点使得这套系统不但为目前校内的网络教学以至于今后远程教育的实现都打下了良好的基础。
所以JSP是实现本系统的最佳技术,它是完全可行的。
2.2主要技术简介JSP是Java Server Pages的简称,它是由Sun Microsystem公司于1999年6月推出,是基于Java Servlet以及整个Java体系的Web开发技术。
作为J2EE体系中的重要一环,JSP为创建高度动态的Web应用提供了一个独特的开发环境。
JSP能够适应市场上包括Apache WebServer、IIS4.0在内的85%的服务器产品,这足以胜任绝大多数的商业事务处理。
同时JSP代码经过服务器的解释执行后会直接嵌入到HTML语言中,这样就简化了页面的输出,也保留了脚本语言易于使用的优点。
SUN公司开发出这个规范来整合和平衡已经存在的规范,对JAVA编程环境进行支持的技术和工具。
其结果是产生了一种新的,开发基于WEB应用程序的方法,给予使用基于组件应用逻辑的页面设计者以强大的功能支持。
JSP设计目标是为了使动态页面编写更容易,更简单。
JSP特点主要有以下几点:到处可执行,JSP技术完全与平台无关的设计,包含它的动态网页和底层Server元件设计,加强元件功能,更容易建立动态网页。
JDBC是Java Data Base Connectivity的简称,也就是java数据库连接。
它是一种用于执行SQL语句的Java API,可以为多种关系数据库提供统一访问,它由一组用Java语言编写的类和接口组成。
JDBC提供了一种基准,据此可以构建更高级的工具和接口,使数据库开发人员能够编写数据库应用程序。