随着计算机信息技术的发展,各种管理系统逐渐用在社会生产生活中,通过系统化管理提高办事流程,节约时间。在酒店,存在许多的服务内容,如客房预定、信息咨询、人员管理等等,这些复杂的业务信息单靠人工管理,费时费力,还容易出错。如果通过酒店管理系统进行系统化管理,可以有效的解决酒店的整个业务过程,提高订房的效率。

论文先介绍当前基于JavaWeb西安鹤明酒店预定系统的现状,然后调研开发这一系统的主流技术,最终选择通过Java的MVC框架开发,选择轻量级的关系型MySQL数据库存储数据。接着进行系统的需求分析、功能设计、数据库设计,最后进行编码实现。基于JavaWeb西安鹤明酒店预定系统主要包括了前台和后台信息管理两个部分,前台实现信息浏览、客房预定、留言咨询、美食预定等,后台实现公告管理、预定管理、客房管理、美食管理等功能。

基于JavaWeb西安鹤明酒店预定系统可以给客户提供快捷高效的订房流程,方便了人们的生活。同时,基于JavaWeb西安鹤明酒店预定系统帮助酒店管理人员快速的进行开房管理,提高了酒店工作效率。


关键词:酒店;预定;JAVA;西安鹤明;美食预定


 

With the development of computer information technology, various management systems are gradually used in social production and life. Through systematic management, business processes are improved and time is saved. In hotels, there are many service contents, such as room reservation, information consulting, personnel management, etc. These complex business information are managed manually, time-consuming, laborious, and prone to errors. If the hotel management system is used for systematic management, it can effectively solve the entire business process of the hotel and improve the efficiency of room booking.

The paper first introduces the current situation of the current reservation system of Xi'an Heming Hotel based on Java Web, then investigates and develops the mainstream technology of this system, and finally chooses to develop through the MVC framework of Java, and choose lightweight relational MySQL database to store data. Then the system needs analysis, functional design, database design, and finally coding implementation. The reservation system of Xi'an Heming Hotel based on Java Web mainly includes two parts: the front desk and the back desk information management. The front desk realizes information browsing, room reservation, message consulting, food reservation, etc., and the back desk realizes announcement management, reservation management, room management, food management, etc.

Based on JavaWeb, Xi'an Heming Hotel Reservation System can provide customers with a fast and efficient booking process, which facilitates people's life. At the same time, the reservation system of Xi'an Heming Hotel based on Java Web helps hotel managers to quickly manage the opening of rooms, which improves the working efficiency of the hotel.


Key words: hotel; reserve; JAVA; Xi'an Heming; Food reservation


 

目  录

摘  要 I

ABSTRACT II

1 绪论 4

1.1系统开发背景 4

1.2系统开发意义 4

1.3研究内容 5

2 相关技术介绍 7

2.1 JAVA语言 7

2.2 开发工具 7

2.3 数据库技术 8

3 系统分析 9

3.1 系统的需求分析 9

3.2 管理员功能需求 10

3.3 会员功能需求 12

4 系统设计 15

4.1系统架构设计 15

4.2系统详细设计 15

4.3数据库层的设计 19

5系统实现 28

5.1前台首页的实现 28

5.2用户登录模块实现 28

5.3系统管理模块的实现 29

5.4用户管理模块的实现 30

5.5客房模块的实现 32

5.6预定管理模块的实现 32

5.7新闻公告模块的实现 33

6系统测试 35

6.1  系统开发环境和运行条件 35

6.2  系统测试 35

总结 38

致谢 39

参考文献 40

 

基于JavaWeb西安鹤明酒店预定系统包括Controller、View、Model三个层次。也就是表示层、业务逻辑层,数据访问层。

Model层设计了Java接口方法,每个功能表主要包括不同的操作方法。如获取下拉列表方法getOption、审核方法shenhe、总记录数remindCount、选择方法selectCal、分组方法selectGroup、或者值方法selectValue。

Controller层是本系统的核心,Controller层的数据主要是通过调用Service层进行处理,并得到结果,然后对结果进行保存,可以分析结果数据,判断结果是否符合预期,最终将信息返回到View层中。Controller层是直接和View层进行交互的,通过requestmapping注解的方法来接收页面传递的路径,本路径和web根目录对应,编写代码时,需要一一对应起来,如果没有注解,直接到根目录去查找。

View层是系统的页面交互层,可以通过JSP、html、div等不同形式的前台方法进行布局,也可以通过前台框架进行设计,最终生成的页面将和客户端用户进行交互。获取用户操作的指令,并将服务器处理后的结果反馈给界面。在view层中通过HTTP的request请求到Controller层进行获取信息,通过该层的方法得到结果,将返回值通过JSON的方式进行获取,并对结果进行绑定显示,也可以对经结果进行处理,处理完成后将数据展现到界面中。


酒店预定的系统设计与实现-计算机毕业设计源码+LW文档_Java

酒店预定的系统设计与实现-计算机毕业设计源码+LW文档_Java_02