摘要随着社会经济的飞速发展,酒店、宾馆在服务行业中扮演的角色越来越重要。在酒店、宾馆的运作期间,其管理和服务水平直接影响到酒店形象和声誉。采用计算机这一现代化工具作为管理的辅助手段可以提高服务质量,尽可能做到让客户满意,同时也需要一套酒店管理系统对客人、费用、房间的正确处理和保存等。基于C/S结构的管理软件开发困难,业务变更或改变不够灵活,增加了维护和管理的难度,进一步的业务拓展困难较多,并且兼容性差。基于B/S的酒店客房管理系统可以实现对客房的科学化、规范化、查询顾客情况、订房信息、以及结算信息等,有助于提高管理的效率,方便酒店对客房的实际情况进行集中的查询与管理工作,以改善整个酒店的工作效率和服务质量。本文采用了当今比较流行的开源框架Struts2+Spring+Hibernate的系统结构,通过介绍Struts的MVC结构、基本组成和结构以及Hibernate的基本对象,并将三种框架技术整合起来应用到系统中,给出一个具体的实例配置,前端采用Struts的MVC框架,中间层采用Spring,底层采用Hibernate,提高了系统代码的可重用性和开发效率。经测试,本系统的实现策略是可行的,能够满足中小型酒店客房管理的需求,实现了对工作效率的提升。关键词:酒店;客房;MVC框架;管理系统AbstractWiththerapideconomicdevelopmentofsociety,thehotel,theguesthouseinserviceindustryintheroleofmoreandmoreimportant.Inahotel,thehotelduringtheoperation,themanagementandserviceleveldirectlyaffectthehotel'simageandreputation.Usingacomputertothemoderntoolsasamanagementauxiliaryinstrument,itcanimprovetheservicequality,asfaraspossible,doletcustomersatisfaction,alsoneedahotelmanagementsystemintheguestroom,cost,thepropermanagementandpreservation.BasedonC/Sstructureofmanagementsoftwaredevelopmentdifficulties,businesschangesorchangeflexibleenough,increasedthedifficultyofmaintenanceandmanagement,furtherbusinesstoexpandmoredifficult,andpoorcompatibility.BasedonB/Shotelguestroommanagementsystemcanrealizetherooms,scientific,standardized,andinquires,bookinginformation,customerinformationandsettlement,andimprovethemanagementefficiency,convenienthotelrooms,thefactofconcentrationandmanagementofinquires,inordertoimprovethewholehotelworkefficiencyandservicequality.ThispaperadoptedthemorepopularframeworkStruts2+Spring+Hibernatesystemstructure,throughtheintroductionoftheStrutsstructure,basicMVCcompositionandstructureandthebasicobjectsHibernate,andthethreeframetechnologyappliedtothesystemtogether,giveaspecificexampleconfiguration,theStrutsMVCframeworkfront,theintermediateSpring,thebottomHibernate,andimprovethesystemcodereusabilityandefficiencyofdevelopment.Bytest,therealizationofthesystemofthestrategyisfeasible,canmeettheneedsofsmallandmedium-sizedhotelroommanagement,realizetheworkefficiencyofascension.Keywords:Hotel;Guestroom;MVCframework;Managementsystem目录摘要............................................................................................................................1Abstract..........................................................................................................................2第1章前言..............................................................................................................51.1课题研究的背景及意义....................................................................................................51.2客房管理系统及相关技术研究现状................................................................................51.3课题的研究目的与内容....................................................................................................61.3.1课题的研究目标.........................................................................................................61.3.2课题的主要工作和研究内容.....................................................................................61.4设计说明书结构................................................................................................................7第2章系统开发相关技术的简介..............................................................................92.1系统开发环境....................................................................................................................92.1.1软件开发环境.............................................................................................................92.1.2数据库开发工具MySQL5.5.....................................................................................92.1.3开发工具MyEclipse10.0........................................................................................102.2主要开发技术..................................................................................................................102.2.1Struts2简介..............................................................................................................102.2.2Hibernate简介..........................................................................................................112.2.3Spring简介..................................................................................................................11第3章系统的需求分析............................................................................................133.1目前中小型酒店运营中存在的问题..............................................................................133.2功能分析..........................................................................................................................133.2.1系统业务流程.............................................................................................................133.2.2用例模型.....................................................................................................................143.2.3业务流程分析.............................................................................................................153.3可行性分析..............................................................