网上订餐系统的设计与实现摘要随着高新科技的不断发展,计算机技术已经融入生活的方方面面,快捷高质量的生活方式成为人们不可或缺的选择。在触手可及的互联网世界,网上订餐已经成为一种新型购物方式。网上订餐不仅可以提供顾客足不出户食物上门的便捷,还可以满足顾客对不同食品的选择。为了进一步提高网上订餐的速度与质量,网上订餐系统被开发出来。本系统的开发工具为JSP与SQLServer数据库,已B/S结构为管理系统,在Tomcat服务器环境下运行,顾客或者管理员可通过IE浏览器进行登录与使用。网上订餐系统的开发主要是由数据库搭建和维护以及前台程序两个部分组成。数据库的搭建要求做到数据一致性、完整性和安全性。而对于前台应用程序则要求做到功能完善,便于使用和漏洞较少。网上订餐系统拥有两个模块:前台会员和后台管理员。主要要求做到顾客可注册,安全登录后可选择订餐,而管理员可以对会员信息,订餐信息和菜品进行管理。关键词:网上订餐JSPSQLServer数据库IThedesignanddevelopmentofonlineorderingsystemAbstractWiththecontinuousdevelopmentofeconomyandhightechnology,computertechnologyhasbeenintegratedintoallaspectsoflife,fastandhighqualityoflifehasbecomeanindispensablechoice.IntheInternetworld,onlineorderinghasbecomeanewwayofshopping.Onlineorderingcannotonlyprovidecustomerswiththeconvenienceofhomefood,butalsotomeetthecustomer'schoiceofdifferentfoods.Inordertofurtherimprovethespeedandqualityofonlineordering,onlineorderingsystemwasdeveloped.ThesystemdevelopmenttoolsforJSPandSQLServerdatabase,B/Sstructureforthemanagementsystem,runningintheTomcatserverenvironment,customersoradministratorscanloginandusetheIEbrowser.Thedevelopmentofonlineorderingsystemismainlycomposedoftwoparts:databaseconstructionandmaintenance.Buildingthedatabaserequiresdataconsistency,integrityandsecurity.Asfortheforegroundapplicationisrequiredtoachievefunctional,easytouseandlessloopholes.Onlineorderingsystemhastwomodules:frontandbackofficeadministrator.Themainrequirementsofthecustomercanberegistered,canchoosetologinafterasafereservation,andtheadministratorcanmanagethemembershipinformation,orderinginformationanddishes.KeyWords:ReservationsystemJSPSQLSERVERdatabaseII目录摘要..............................................................IAbstract..............................................................II目录................................................................III1绪论................................................................11.1课题开发背景......................................................11.2系统需求分析......................................................12技术方案选取........................................................32.1JSP技术..........................................................32.2JavaBean技术......................................................32.3JDBC(数据库连接)技术............................................42.4SQLServer2008数据库............................................42.5操作环境与方式....................................................52.6可行性分析........................................................52.7本章小结..........................................................63系统概要设计........................................................73.1系统总体设计描述..................................................73.2功能模块划分......................................................73.3系统总体结构......................................................83.4数据库技术..........................................................