I
毕 业 设 计(论 文)
学院 信息工程学院
专业 计算机科学与技术
班级 4016
姓名 田彦
2007 年 3 月 15 日
II
摘 要
通过操作系统教学网站的建设,完成了对于操作系统课程的远程化授课。可以使学
生不受时间空间的限制,通过网络对于这门课程进行学习。建立起了基于 B/C 的网络化
教学系统。本网站采用当前最流行的 JSP 网络编程技术,可以实现数据的高效、动态、
交互访问,具有强大的 Server/Client 交互能力。本文中所做的主要工作:介绍 Win2000
+JSP(J2DK+TOMCAT)系统并且嵌入 JAVABEAN 的一般原理;阐述整个操作系统教学网站的
概要设计,系统结构及工作原理;分析了系统实现中的特殊性、难点和重点;详细设计
实现学院介绍、教学资源、课程表、课堂教学、在线答疑、其他课程、课件下载、留言
反馈、站内搜索、公告专栏、友情链接、校园风景、新闻中心、栏目导航等程序模块;
各个模块的具体实现,且分析并解决实现中的若干技术问题;建立完整的实验网站,进
行测试并分析结果。
关键字 : JAVABEAN JSP 网络教学 JAVASCRIPT JDBC
III
Abstract
Through the operating system teaching website construction, completed long-distance has
taught regarding the operating system curriculum, was allowed to cause the student without the
time space limit, and carried on the study through the network regarding this curriculum.
Established based on the B/C network teaching system. This website uses the current most
popular JSP network programming technology, may realize the data to be highly effective,
dynamically, alternately visits, and has the formidable Server/Client interactive ability. In this
article does main work: Introduced Win2000 +JSP (J2DK+TOMCAT) the system and to insert
JAVABEAN the general principle; Elaborates the entire operating system teaching website
outline design, the system structure and the principle of work; Has analyzed in the system
realization particularity, the difficulty and key; The detailed design realization institute
introduced, in the teaching resources, the class schedule, the classroom instruction, the on-line
Q/A, other curricula, class downloading, the message feedback, the station search, program
module and so on announcement column, friendship link, campus scenery, news center, column
navigation; Each module concrete realization, also in analysis and solution realization certain
technical questions; The establishment integrity experimental website, carries on the test and the
analysis result.
Key words: JAVABEAN JSP Network teaching JAVASCRIPT JDBC
IV
目 录
摘 要........................................................................................................................I
Abstract.....................................................................................................................II
目 录 .....................................................................................................................III
引 言 .......................................................................................................................1
第 1 章 JSP 简介 ......................................................................................................3
1.1 JSP 与本系统的开发 .......................................................................................3
1.2 对于 ASP,PHP,JSP 进行比较....................................................................5
1.3 利用 JDBC 访问数据库...................................................................................6
第 2 章 网站需求分析 ............................................................................................11
2.1 与传统教学的比较 ........................................................................................11
2.2 网站的流程 ....................................................................................................12
第 3 章 网站概要设计 ............................................................................................15
3.1 综合管理系统结构 ........................................................................................15
3.2 后台管理系统结构 ........................................................................................15
3.3 网站建设模式 ................................................................................................16
第 4 章 数据库设计 ................................................................................................18
4.1 数据库分析 ....................................................................................................18
4.2 数据库实体关系设计 ....................................................................................18
4.3 系统数据字典 ................................................................................................20
第 5 章 网站详细设计 ............................................................................................22
5.1 登陆模块的设计 ............................................................................................22
5.2 课堂教学模块的设计 ....................................................................................22
5.3 留言反馈模块设计 ........................................................................................26
5.4 数据库的连接 ................................................................................................29
第 6 章 网站功能的实现 ........................................................................................31
6.1 登陆版块的实现 ............................................................................................31
6.2 主要信息版块的实现 ....................................................................................32
6.2.1 教学资源版块的实现 ..............................................................................32
6.2.2 课程表版块的实现 ..................................................................................32
6.2.3 其他课程版块的实现 ..............................................................................33
6.3 课堂教学版块的实现 ....................................................................................33
V
6.4 课件下载版块的实现 ....................................................................................37
6.5 留言反馈版块的实现 ....................................................................................38
第 7 章 网站的安全性 ............................................................................................40
第 8 章 系统开发难点与技巧 ................................................................................42
结 论 .....................................................................................................................44
参考文献 .................................................................................................................45
附 录 .....................................................................................................................46
谢 辞 .....................................................................................................................48