2011 届毕业生
毕业论文
题 目: 学生宿舍管理系统
院系名称:
专业班级:
学生姓名: 学 号:
指导教师: 教师职称:
2011 年 6 月 3 日
I
摘 要
当今大学校园内的学生公寓,其数据量大,各种信息管理内容复杂,查询和管
理学生信息和校园内的公寓信息等工作由人工完成将是很累的,不仅浪费了许多人
力物力资源,而且还很容易出现差错,有一个软件对学生公寓管理不仅节省了人力
物力,而且对各种信息的把握和操作也更加方便。
该学生宿舍管理系统主要包括前台用户界面的开发和后台数据库的开发,对于
后台数据库要求建立起数据一致性和完整性强、数据安全性好的数据库。而对于前
端应用程序的开发则要求应用程序能提供强大的数据操纵功能,界面友好、使用简
单方便等特点。管理人员需要做的就是将数据输入到系统的数据库中去。经过分析,
本系统运用了 MySQL 为后台数据库,以 eclipse 为前端开发工具,系统实现了房间
管理、宿舍管理、信息维护、宿舍分配、信息查询等必需的功能,其操作简单,界
面友好,运行比较稳定,适用于大学院校大学生宿舍管理。
关键词: 学生宿舍管理 java MySQL 数据库 eclipse
II
Title
student dormitory Management System
Abstract
Today's dormitory in the university campus has a large amount of data, and the relation
in a variety of information was complex, so query and management of student
information or dormitory information will be tired by people. Not only wastes a lot of
human and material resources, and very prone to error, there is a software to manage
the student dormitory not only save the human and material resources, but to grasp all
kinds of information and operation is also more convenient.
The dormitory management system including the development prospects of the
user interface and the development of database, for the database we need to build a
required consistency and integrity, data security database. As for the front-end
application development requires the application provides powerful data manipulation
features, friendly interface, easy to use and so on. Managers need to do is to enter data
into the system's database. After analysis, the system uses MySQL as the backend
database, eclipse as the front-end development tools, system management to achieve
the room, dormitory management, information maintenance, the assignments, and
other necessary information query functions, the operation is simple, friendly interface
and stable operation for college students at the university dormitory management.
Keywords Student Apartment Management java MySQL Database eclipse
1
目 录
1 绪论 ..................................................................... 1
1.1 开发背景与现状 ...................................................... 1
1.2 开发设计的意义 ...................................................... 2
2 开发环境介绍 ............................................................. 4
2.1 开发工具 Eclipse .................................................... 4
2.2 数据库 MySQL ........................................................ 4
2.2.1 MySQL 概述 ....................................................... 4
2.2.2 MySQL 的特性 ..................................................... 5
2.2.3 MySQL 的应用 ..................................................... 5
3 系统需求分析 ............................................................. 6
3.1 功能需求 ............................................................. 6
3.1.1 基本功能需求 ..................................................... 6
3.1.2 功能模块 ......................................................... 6
3.2 性能需求 ............................................................. 7
3.2.1 系统安全性 ....................................................... 7
3.2.2 数据库选择 ....................................................... 7
4 系统设计 ................................................................. 8
4.1 数据库设计 ........................................................... 8
4.1.1 物理设计 ......................................................... 8
4.1.2 E-R 模型设计 ..................................................... 8
4.1.3 表/字段及表间关系设计 ........................................... 10
4.2 模块设计 .............................................................. 11
4.2.1 用户管理模块 .................................................... 11
4.2.2 房间管理模块 .................................................... 13
4.2.3 信息维护模块 .................................................... 14
5 系统的编码与实现 ........................................................ 15
5.1 系统的实现平台 ...................................................... 15
5.1.1 系统环境 ........................................................ 15
5.1.2 后台数据库选择及配置 ............................................ 15
5.2 子系统功能模块的实现 ................................................ 16
5.2.1 房间管理模块 .................................................... 16
5.2.2 宿舍管理模块 .................................................... 20
5.2.3 信息查询模块 .................................................... 23
5.2.4 信息维护模块 .................................................... 25
2
5.2.5 系统管理模块 .................................................... 26
5.3 数据库操作的实现 .................................................... 28
5.4 系统测试 ............................................................ 29
5.4.1 系统测试的目的 .................................................. 29
5.4.2 系统的测试环境 .................................................. 30
总 结 ..................................................................... 31
致 谢 ..................................................................... 32
参 考 文 献 ................................................................ 33