毕 业 设 计(论 文)
题目:房屋租售网站的设计与实现
I
摘 要
互联网发展至今,无论是其理论还是技术都已经成熟,而且它广泛参与在社
会中的方方面面。它让信息都可以通过网络传播,搭配信息管理工具可以很好地
为人们提供服务。针对房屋租售信息管理混乱,出错率高,信息安全性差,劳动
强度大,费时费力等问题,采用房屋租售网站可以有效管理,使信息管理能够更
加科学和规范。
房屋租售网站在 Eclipse 环境中,使用 Java 语言进行编码,使用 Mysql 创建
数据表保存本系统产生的数据。系统可以提供信息显示和相应服务,其管理员管
理房东与用户,管理房屋出租出售,管理房屋的租赁与购买的订单,管理留言板
与轮播图。房东审核房屋购买订单与租赁订单,管理房屋信息,在线出租或出售
房屋。用户查看房屋信息,购买出售的房屋,租赁出租的房屋,收藏房屋信息,
管理购买房屋的订单和租赁房屋的订单。
总之,房屋租售网站集中管理信息,有着保密性强,效率高,存储空间大,
成本低等诸多优点。它可以降低信息管理成本,实现信息管理计算机化。
关键词:房屋租售网站;Java 语言;Mysql
II
Abstract
Since the development of the Internet, both its theory and technology have
matured, and it has been widely involved in all aspects of society. It allows
information to be disseminated through the Internet, and it can serve people well with
information management tools. In view of the chaotic management of housing rental
and sales information, high error rate, poor information security, high labor intensity,
and time-consuming and labor-intensive problems, the use of housing rental and sales
websites can be effectively managed, and information management can be more
scientific and standardized.
The house rental and sale website is in the Eclipse environment, using Java
language for coding, and using Mysql to create a data table to save the data generated
by the system. The system can provide information display and corresponding
services. Its administrator manages landlords and users, manages housing rental and
sale, manages housing lease and purchase orders, and manages message boards and
carousels. The landlord reviews house purchase orders and lease orders, manages
house information, rents or sells houses online. Users view house information, buy
houses for sale, rent houses for rent, collect house information, and manage orders for
buying houses and orders for renting houses.
In short, the centralized management of information on housing rental and sales
websites has many advantages such as strong confidentiality, high efficiency, large
storage space, and low cost. It can reduce the cost of information management and
realize the computerization of information management.
Key Words:House rental and sale website; Java language; Mysql
III
目 录
第 1 章 绪论...........................................1
1.1 课题背景 .........................................................................................................1
1.2 课题意义 .........................................................................................................1
1.3 研究内容 .........................................................................................................2
第 2 章 开发环境与技术.................................3
2.1 MYSQL 数据库 ...............................................................................................3
2.2 JSP 技术 ...........................................................................................................3
2.3 SSM 框架 .........................................................................................................4
第 3 章 系统分析.......................................5
3.1 可行性分析 .....................................................................................................5
3.1.1 技术可行性 ..........................................................................................5
3.1.2 经济可行性 ..........................................................................................5
3.1.3 操作可行性 ..........................................................................................5
3.2 系统流程 .........................................................................................................6
3.2.1 操作流程 ..............................................................................................6
3.2.2 登录流程 ..............................................................................................6
3.2.3 删除信息流程 ......................................................................................7
3.2.4 添加信息流程 ......................................................................................8
3.3 性能需求 .........................................................................................................8
3.4 功能需求 .........................................................................................................9
第 4 章 系统设计......................................13
4.1 设计原则 .......................................................................................................13
4.2 功能结构设计 ...............................................................................................13
4.3 数据库设计 ...................................................................................................15
4.3.1 数据库概念设计 ................................................................................15
IV
4.3.2 数据库物理设计 ................................................................................17
第 5 章 系统实现......................................24
5.1 管理员功能实现 ...........................................................................................24
5.1.1 房东管理 ............................................................................................24
5.1.2 房屋信息管理 ....................................................................................24
5.1.3 房屋资讯管理 ....................................................................................25
5.1.4 用户管理 ............................................................................................25
5.1.5 留言板管理 ........................................................................................26
5.2 房东功能实现 ...............................................................................................26
5.2.1 房屋信息管理 ....................................................................................26
5.2.2 房屋出租管理 ....................................................................................27
5.2.3 租赁订单管理 ....................................................................................27
5.2.4 购买订单管理 ....................................................................................28
5.3 用户功能实现 ...............................................................................................28
5.3.1 留言反馈 ............................................................................................28
5.3.2 房屋出售 ............................................................................................28
5.3.3 房屋出租 ............................................................................................29
第 6 章 系统测试......................................30
6.1 功能测试 .......................................................................................................30
6.1.1 登录功能测试 ....................................................................................30
6.1.2 修改密码功能测试 ............................................................................31
6.2 测试结果 .......................................................................................................31
结 论...............................................32
致 谢...............................................33
参考文献.............................................34