I
房屋租赁网设计与实现
摘 要
本房屋租赁网系统是针对目前房屋租赁网的实际需求,从实际工作出发,对过去的
房屋租赁网系统存在的问题进行分析,结合计算机系统的结构、概念、模型、原理、方
法,在计算机各种优势的情况下,采用目前最流行的 B/S 结构和 java 中流行的 MVC 三
层设计模式和 myeclipse 编辑器、MySQL 数据库设计并实现的 。本房屋租赁网系统主
要包括系统用户管理模块、出租信息管理模块、求租信息管理、楼盘信息管理、登录模
块、和退出模块等多个模块。它帮助房屋租赁网实现了信息化、网络化,通过测试,实
现了系统设计目标,相比传统的管理模式,本系统合理的利用了房屋租赁网数据资源,
有效的减少了房屋租赁网的经济投入,大大提高了房屋租赁网的效率。
关键词:房屋租赁网;MVC 模式;MySQL 数据库
II
ABSTRACT
This housing rental network system is aimed at the actual needs of the current housing
rental network. From the actual work, the problems existing in the past housing rental
network system are analyzed, and the structure, concept, model, principle, and method of the
computer system are combined. Under the various advantages of the computer, the most
popular B/S structure and the popular MVC three-layer design model in Java and the
myclipse editor, MySQL database design and implementation are used. The housing rental
network system mainly includes system user management module, rental information
management module, rent seeking information management, real estate information
management, login module, and exit module. It has helped the housing rental network to
realize informatization and networking, and has achieved the goal of system design through
testing. Compared with the traditional management model, the system has reasonably used the
data resources of the housing rental network and effectively reduced the economic investment
of the housing rental network. Has greatly improved the efficiency of the housing rental
network.
key words:Housing rental network; MVC mode; MySQL database
III
目 录
房屋租赁网设计与实现 .....................................................................................................I
摘 要 ...................................................................................................................................I
ABSTRACT ........................................................................................................................I
目 录...............................................................................................................................III
第 1 章 绪论.......................................................................................................................1
1.1 开发背景................................................................................................................1
1.2 开发意义................................................................................................................1
1.3 研究内容................................................................................................................1
第 2 章 主要技术和工具介绍...........................................................................................1
2.1 JSP 语言.................................................................................................................1
2.2 MySQL 数据库...................................................................................................1
2.3 jsp 技术 ..................................................................................................................2
2.4ssm 简介 .................................................................................................................3
第 3 章 系统分析...............................................................................................................1
3.1 可行性分析............................................................................................................1
3.1.1 经济可行性..................................................................................................1
3.1.2 技术可行性..................................................................................................1
3.1.3 操作可行性..................................................................................................1
3.2 需求分析................................................................................................................1
3.3 业务流程分析........................................................................................................2
3.4 数据流程分析........................................................................................................3
第 4 章 系统设计...............................................................................................................5
4.1 系统结构设计........................................................................................................5
4.2 功能模块设计........................................................................................................5
IV
4.3 数据库设计............................................................................................................6
4.3.1 数据库设计概述..........................................................................................6
4.3.1 概念设计......................................................................................................6
4.3.2 表设计..........................................................................................................7
第 5 章 系统实现...........................................................................................................12
5.1 基本任务..............................................................................................................12
5.2 登录模块的实现..................................................................................................12
5.2.1 首页实现....................................................................................................12
5.2.2 管理员后台登录........................................................................................13
5.3 用户模块的实现..................................................................................................16
5.3.1 注册模块及登录的实现............................................................................16
5.2.2 留言模块的实现........................................................................................18
5.2.3 求租信息模块的实现................................................................................19
5.4 管理员模块的实现..............................................................................................21
5.4.1 用户管理模块的实现................................................................................21
5.4.2 出租信息管理模块的实现........................................................................23
5.4.3 楼盘信息管理模块的实现........................................................................25
5.4.5 租赁新闻管理实现....................................................................................26
第 6 章 系统测试...........................................................................................................28
6.1 测试目的..............................................................................................................28
6.2 测试概述..............................................................................................................28
6.3 单元测试..............................................................................................................28
6.3.1 注册测试....................................................................................................28
6.3.2 登录测试....................................................................................................29
6.4 集成测试..............................................................................................................30
V
第 7 章 总结...................................................................................................................31
致 谢...............................................................................................................................32
参考文献...........................................................................................................................32