基于java web的校友录论文- 联系客服

发布时间 : 星期日 文章基于java web的校友录论文- 更新完毕开始阅读1b142e4d2b160b4e767fcf49

学士学位论文

基于Java Web的校友录系统的设计和实施

Design and Implementation of Alumni System Based

on Java Web

院系名称: 班 级: 学 号: 姓 名: 指导教师: 完成日期:

计算机科学与技术专业学士学位论文 第 I 页

摘 要

Internet已经成为人们生活、工作、学习越来越离不开的平台。Web技术已经不在局限于单纯地提供信息服务,而是日益成为一个操作平台,为用户提供强大的服务功能。因此,基于B/S体系架构创建这个校友网站,紧跟行业发展,满足人们生活、学习的需要。

建立一个基于B/S架构的校友录,实现信息网络化。通过较丰富的功能将 Web的技术特点体现出来。该系统可供包括在校、离校、以及游客登录使用。登录者可以查询信息或者发布信息,也可以通过此网站与朋友联系,并且还能够创建虚拟班级等功能。系统中班级管理为必不可少的模块项,主要是为了安全有效地存储和管理登录网站的用户的信息,赋予管理员特定的权限,可以对用户进行分类,添加,删除,修改等。本文中数据库服务器端采用了Oracle作为后台数据库,以先进的JDBC技术与数据库连接,结合SQL语句处理对用户分类,添加,删除,修改等操作,使Web与数据库紧密联系起来。

【关键词】 校友录,Java Web,MVC, Oracle

Abstract

Internet has become the people's lives, work, learn more and can not be separated from the platform. Web technology is not limited to simply providing information services, but increasingly becoming a platform for users to provide powerful services. Therefore, based on the B/S architecture to create the alumni site, keep up with the development of the industry to meet the needs of people's lives, learning needs.

Based on the establishment of a B/S structure of the alumni were recorded, the realization of the information network. Adopted a more feature-rich Web technologies will be reflected in the characteristics. The system can be included in the school, school leavers, as well as the use of visitors log on. Will be able to query registry information or release information, can also be linked to this site with your friends, and also to create features such as virtual classes. Class Management System module for essential items, mainly in order to safely and effectively store and manage user login information site to give specific permission to an administrator, you can classify the user, add, delete, modify and so on. In this article used a database server-side Oracle database as a background to the advanced technology and the JDBC database connection, combined with SQL statement processing for categories of users, add, delete, modify and so on, web and database are so closely linked.

【Key Words】 Alumni, Java Web, MVC, Oracle

计算机科学与技术专业学士学位论文 第 II 页

目 录

摘 要 ....................................................................................................................... I ABSTRACT ....................................................................................................................... I 目 录 ...................................................................................................................... II 0 引言 ........................................................................................................................ 1 1 绪论 ........................................................................................................................ 2 1.1 1.2 1.3 1.4 1.5

J2EE概况......................................................................................................... 2 B/S模型的优点............................................................................................... 3 JSP技术发展背景........................................................................................... 4 JAVA语言的特点 .............................................................................................. 5 关于JAVA WEB ................................................................................................... 6 1.5.1 Servlet与JSP组件简介........................................................................ 7 1.5.2 JavaBean在Java Web组件的应用........................................................ 8 1.5.3 自定义标签与JSTL标签库..................................................................... 8 1.5.4 JSF技术简介............................................................................................ 8 1.5.5 XML简介.................................................................................................... 9 1.5.6 关于Java Web的MVC设计模式............................................................. 9 1.6 关于ORACLE ..................................................................................................... 11 1.7 关于TOMCAT ..................................................................................................... 13 1.8 关于开发环境MYECLIPSE ............................................................................... 14 1.9 本章小结........................................................................................................ 15 2 需求分析 .............................................................................................................. 16 2.1 2.2 2.3 2.4 2.5

任务描述........................................................................................................ 16 用户特点........................................................................................................ 17 条件与限制.................................................................................................... 17 系统配置........................................................................................................ 17 编码规范........................................................................................................ 17

3 系统设计 .............................................................................................................. 18 3.1 系统结构........................................................................................................ 18 3.2 功能模块........................................................................................................ 18 3.3 设计模式........................................................................................................ 19 3.3.1 用户身份验证设计................................................................................. 19 3.3.2 创建班级功能的设计............................................................................. 20 3.3.3 查询功能设计......................................................................................... 21 3.3.4 删除功能设计......................................................................................... 22 3.4 数据库的逻辑设计的描述............................................................................ 23

计算机科学与技术专业学士学位论文 第 III 页 3.5 页面设计........................................................................................................ 24 4 系统实现 .............................................................................................................. 25 4.1 模块的详细设计............................................................................................ 25 4.1.1 登录模块................................................................................................. 25 4.1.2 创建班级................................................................................................. 26 4.1.3 班级管理员的生成................................................................................. 27 4.1.4 删除功能的实现..................................................................................... 27 4.1.5 查询功能的实现..................................................................................... 29 4.1.6 留言功能的实现..................................................................................... 30 4.1.7 用户权限确认......................................................................................... 30 4.1.8 技术要点................................................................................................. 31 4.2 数据库的物理实现........................................................................................ 32 4.2.1 安装驱动程序......................................................................................... 32 4.2.2 建立用户................................................................................................. 33 4.2.3 系统表结构............................................................................................. 33 4.2.4 操作数据库............................................................................................. 34 5 总结与展望 .......................................................................................................... 36 致 谢 ..................................................................................................................... 38 参考文献 ..................................................................................................................... 39