
i
郑州大学毕业设计(论文)
题目:基于 java 的房屋租赁管理系统的开发与设计
指导教师: 职称:
学生姓名: 学号:
专业: 计算机科学与技术(xxx 方向)
院(系): 软件与应用科技学院
完成时间:
2019 年 4 月 1 日

ii
摘 要
科学技术日新月异的进步,让人类生活发生了巨大的变化,计算机技术的飞速发展,
使各行各业在计算机技术应用方面得到了广泛的普及和使用。信息化时代的到来成为不
可抗拒的潮流,人类文明正在进入一个崭新的时代。房屋租售管理系统,是针对目前租
房售房的混乱模式下,设计开发一个统一便捷的网上管理工具,目的是改变租售管理现
有的手工或半手工的管理模式,使租售管理工作更规范,更标准,提高工作效率。
本系统采用了 Browser/Server 体系结构,JSP(Java Server Page)作为前台开发工具,
MySQL 作为后台数据库进行开发。最终系统实现的系统将分为管理员和普通注册用户
二个角色,主要功能包括出租信息管理、求租信息管理、新闻资讯管理、租房合同管理、
出售信息管理以及信息审核这几大功能模块。本房屋租售管理系统的设计制作可以很大
程度的提高房屋租售的效率,充分体现了信息时代的优越性。
关键词:JSP;房屋租赁管理;B/S 模式

iii
ABSTRACT
With the rapid progress of science and technology, human life has undergone
tremendous changes, the rapid development of computer technology, so that all walks of life
in the application of computer technology has been widely spread and use. The arrival of the
information age has become an irresistible trend, and human civilization is entering a new era.
The housing rental management system is designed to develop a unified and convenient
online management tool against the current chaotic mode of renting houses, the purpose is to
change the existing rental management manual or semi manual management mode, the rental
management more standardized, more standard, improve work efficiency。
The system uses the Browser/Server architecture, JSP (Java Server Page) as a front
development tool, MySQL as a back-end database development. System implementation of
the final system will be divided into administrators and ordinary registered users two roles,
main functions include information management, rental Qiuzu information management,
news management, rental contract management, information management and information
audit of the sale of several functional modules. The design of the housing rental management
system can greatly improve the production efficiency of housing rental, fully embodies the
superiority of the information age。
Keywords: JSP;house tenancy administration;B / S structure.

iv
目 录
摘 要.................................................................................................................................i
ABSTRACT.......................................................................................................................ii
第一章 绪论......................................................................................................................1
1.1 课题背景与意义..................................................................................................1
1.2 房屋租赁现状的研究..........................................................................................1
1.3 开发目的和意义..................................................................................................2
第二章 相关技术简介......................................................................................................3
2.1 集成开发环境 MyEclipse 简介 ..........................................................................3
2.2 Tomcat 服务器简介.............................................................................................3
2.3 JSP 简介...............................................................................................................3
2.4 JavaScript 和 CSS 简介 .......................................................................................4
2.5 SSH 简介 .............................................................................................................5
2.6 软硬件需求..........................................................................................................5
第三章 系统分析..............................................................................................................7
3.1 可行性分析..........................................................................................................7
3.1.1 技术可行性...............................................................................................7
3.1.2 经济可行性...............................................................................................7
3.1.3 操作可行性...............................................................................................7
3.1.4 法律可行性...............................................................................................8
3.2 系统功能模块图..................................................................................................8
3.3 设计的基本思想..................................................................................................9
3.4 性能需求..............................................................................................................9
3.4.1 系统的安全性...........................................................................................9
3.4.2 数据的完整性...........................................................................................9
3.5 界面需求............................................................................................................10
第四章 概要设计............................................................................................................11
4.1 数据库的分析与设计........................................................................................11
4.2 数据库的概念结构设计....................................................................................11

v
4.3 数据库的逻辑结构设计....................................................................................15
4.4 数据库的连接原理............................................................................................19
第五章 系统详细设计与实现........................................................................................20
5.1 系统 SSH 平台搭建 ..........................................................................................20
5.2 会员注册功能....................................................................................................24
5.3 登陆页面设计....................................................................................................25
5.4 管理员主界面....................................................................................................27
5.5 会员信息管理....................................................................................................28
5.6 出租信息管理....................................................................................................29
5.7 出售信息管理....................................................................................................30
5.8 求租信息管理....................................................................................................30
5.9 新闻资讯管理....................................................................................................31
5.10 合同信息管理..................................................................................................32
5.11 网站首页设计..................................................................................................32
第六章 系统测试............................................................................................................37
6.1 系统测试定义....................................................................................................37
6.2 系统测试目的与意义........................................................................................37
6.3 系统测试的目标................................................................................................37
6.4 测试过程............................................................................................................39
6.4.1 主页面的登录模块测试.........................................................................39
6.4.2 主页面的显示模块测试.........................................................................40
6.4.3 用户管理模块测试.................................................................................40
6.4.4 管理员管理模块测试用例.....................................................................41
6.5 其他错误............................................................................................................42
结 论..............................................................................................................................43
参考文献..........................................................................................................................44
致 谢..............................................................................................................................45
外文原文..........................................................................................................................46
中文翻译..........................................................................................................................51