基于bs结构的选课管理系统的设计

  • 格式:doc
  • 大小:3.02 MB
  • 文档页数:104

本科生毕业论文(设计)基于B/S结构的学生选课管理系统的设计与实现BS选课管理设计J2EE,jsp,spring,hibernate,oracle姓名学号专业指导教师二零一二年四月二十日摘要近年来随着高校使用网络管理学生的各项信息的普及。

本设计采用分析浏览器/服务器结构的特点,完成学生网上选课功能,并结合选课的实际情况简单的介绍了系统各功能模块及数据库的设计,学生可通过该系统进行选修课程的信息查询,对于教务处提供的课程进行选择或者退选,并且根据学生的选课情况自动生成课程表。

本选课系统着重应用java web技术包括:spring MVC 技术以及hibernate4.0 JDBC连接数据库.并大量使用Spring3.0的Annotation,注解驱动,减少了xml 配置,使应用开发更加轻量级。

使用前台的技术包括 jsp ,javascript,css,ajax 等。

数据库采用Oracle 11g。

开发环境采用Eclipse,项目总体架构在Maven3.0上,减少了对各种jar包的引用,并且结构目录清晰,易于管理和维护。

系统设计部分主要介绍了系统详细功能设计、数据库设计以及代码架构设计。

系统界面友好,操作简单,安全性高,是一个实用的选课系统。

开发过程中使用Junit保证底层代码方法的正确性,先后台再到前台的开发模式,在出现问题的时候才用debug模式进行问题的查找,直到形成满意的可行系统。

系统面向的用户为,学生、教师、管理员。

主要的模块分为,用户登录模块,管理员发布选课消息以及录入选课信息。

学生进行课程的选定以及退选。

教师管理员统计选课结果等等。

关键词:课程;管理;数据库;MVCAbstract‘Everything is Object’, with the popularity of Internet technology, Java which an object-oriented language get a wide range of applications. At the same time, network application become one of the most important part of person's life. Especially in universities, Application is more popular, Students' information management, The library books loan or information management, The student consumption system and so on . So java web because more and more popular . It is simple, easy to modify and maintenance. Provide many ways for JDBC which can make a perfect connect with Database. The most important is :It has a lot of frame work which can refer to learn and used in our development .Therefore it is very popular with the developer's favorThe system mainly technology including: spring MVC technology and hibernate4.0 connect to database of advantage, and the use of the Spring3.0 Annotation, annotate drive, reduce the XML configuration, make application development more lightweight.In recent years, with the increase size of university students using the network to manage, all the information of the students has been popular. This design use the analysis browser/server (B/S) structure characteristics, it can complete students online choose courses function, and combining with the actual situation of the simple course introduces the system the function module and database design.Use the front desk technology including the JSP, JavaScript, CSS, Ajax, etc. Database using Oracle 11 g. The Eclipse the development environment, the project general framework in Maven3.0 to reduce the reference of various kinds of jar , Also Maven make directory structure clear, easy to manage and maintain.During the development used the JUint guarantee the correctness of the bottom code method, until satisfactory feasible system formed and used the Debug model to find the root cause when combine the jsp page and the backup code .Until it become a satisfied system .This system mainly introduces the function of system in detail design, database design and code architecture design. It has friendly interface, simple operation, high safety, practical course system.Key Words: course,management, database, MVC目录摘要 (I)1 引言 (1)1.1课题研究背景 (1)1.2课题研究目的 (1)1.3课题可行性分析 (2)2 相关开发软件以及技术介绍 (3)2.1开发环境介绍----E CLIPSE 以及M AVEN的使用 (6)2.2 SPRING3.0新特性以及SPRING MVC (6)2.3H IBERNATE连接数据库 (7)2.4主要前台技术简介 (8)2.4.1 JSP (8)2.4.2 JavaScript (8)2.4.3 CSS (8)3 系统分析与总体设计 (9)3.1系统功能分析 (9)3.2系统功能模块设计 (10)3.3数据库设计 (11)3.3.1 教师模块数据库表结构 (11)3.3.2 教师模块数据库表结构 (13)3.3.3 学生模块数据库表结构 (13)4 系统详细设计 (15)4.1教师、学生、管理员登陆 (15)4.2管理员发布选课通知 (20)4.3管理员录入可选课程信息 (21)4.4学生进行选课、退课 (22)4.5教师统计已选自己课的结果 (24)4.6管理员进行选课统计以及调节 (25)5 设计过程中遇到的问题以及解决 (31)5.1创建MAVEN项目后,为何目录生成不正确? (31)5.2****未完待程序完成后,将典型问题列出**** (31)参考文献 (35)致谢 (37)附录.............................................................................................................................. 错误!未定义书签。

附录一:登陆页面 .................................................................................................. 错误!未定义书签。

附录二:学生选课功能页面展示.......................................................................... 错误!未定义书签。

附录三:超出已选学分,提示信息 ..................................................................... 错误!未定义书签。

1 引言1.1 课题研究背景从计算机的普及和发展方面来看:一直以来,学生选课系统是学生们做毕业设计的热门题目,然而大多的题目设计多过于大众化,大多是运用一些简单的框架实现基本的简单选课功能。

这种设计的方式存在着诸多缺点,如手续繁琐、工作量大、效率低下、出错率高、界面不友好等,而且程序过于繁琐,结果也不清晰、更新及维护都带来不少困难。

随着科学技术的不断发展,计算机科学日渐成熟和普及,计算机已进入人类社会的各个领域并发挥着越来越重要的作用。

与传统的选课方式相比,网上选课系统利用局域网为学生选课带来了便利。

学生在学校的公共机房或者宿舍的个人电脑上通过网络来选课,只要选课还没有截止,学生能够灵活的修改自己的选课情况,大大提高了学校选课工作的效率。

教务处的教师则通过选课系统的管理员子系统来管理学生的选课情况,使得学生选课工作达到系统化和自动化,大大提高了学校的工作效率。

作为计算机应用的一部分,javaWeb开发已经变得越来越普遍。

相应的一些技术的产生给我们java程序的编写提供了很大的方便。

同时,现在较为普遍的框架的SSH (spring,hibernate),以及MVC架构的支持使我们的计算机web技术使用更加淳熟。