基于J2EE的网上订餐系统的设计与实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着传统的购物方式正在向网络化发展,出现了“网购”这种越来越受欢迎的新型消费方式。为了提高餐饮业务水平和效率,实现比电话订购更有效的送餐业务,网上订餐系统因运而生。通过对订餐流程和业务进行全面考察分析,结合目前最先进的软件开发技术,实现了订餐的网络化管理。目前,网上订餐业务还处于形成期,成长空间还很大。
     餐饮系统不仅需要将整个餐饮业务通过信息系统进行系统管理,同时需要将各类人工服务的工作交由计算机处理,比如点菜和菜单的传送等等。同时,本网站是一个网上订餐系统,能为客户提供网络选择商家、浏览菜品介绍、点菜订餐、约定用餐时间、就餐或送餐以及注明货重支付方式等服务。这样,传统的订餐方式也正在转向网络化发展,但目前,网上订餐业务还处于形成期,成长空间还很大。
     本文首先给出了开发网上订餐系统的背景和意义,系统目标、功能设计、系统架构、关键技术、网络安全策略等内容进行深入研究。然后阐述了与论文相关的理论基础知识及开发技术。在此基础上给出了网上订餐系统的功能分析、架构设计及详细设计。
     其次,应用面象对象的方法对所研发的网上订餐系统进行需求分析,采用UML统一建模的方法分析了餐饮系统中的主要功能模块,同时对用例作了详细的分析并给出了所分析的UML用例图。然后,根据需求分析结果对系统中所涉及的数据模型进行了设计,应用数据建模工具设计了网上订餐系统中所涉及的表结构,并给出了网上订餐系统的关系数据模型图和数据模型的数据字典。在设计完数据模型后,把所设计的数据模型转化为物理数据模型,并应用Hibernate实现数据库与系统数据持久层之间的映射设计。接着,应用DAO层对系统的数据库访问作了进-步的封装,通过DAO层,可以让业务逻辑层与具体持久层技术分离。同时,按系统的功能模块对网上订餐系统业务逻辑层进行了详细的设计。最后,在所研发的系统架构的基础上对各功能模块进行了详细的设计与实现,同时,对系统进行了部署与测试,取得了预期的系统实施效果。最后,论述了网上订餐系统的部署与测试。
     本网站是能为客户提供浏览餐品介绍、点菜订餐、约定用餐时间、就餐或送餐等服务。该系统的前台主要分前台登录和前台界面两部分,前台界面包括网站首页、订餐流程、餐品展示、网上订餐、信息发布、会员中心和后台登录等模块;后台界面主要包括餐品管理、订单管理、信息管理、用户管理等模块,提高了工作的效率,为将来开发出更加人性化的系统做出了铺垫。
     该系统适合在中小型餐饮企业中推广使用,它能够优化餐饮业务流程,实现企业价值最大化,同时又使成本最低化,并最终提高自身在餐饮业中的竞争优势。
As traditional way of shopping are turning to network development, gradually appeared the increasingly popular new consumption mode "E-Commerce". In order to improve the catering business level or efficiency and to realize the more effective room services than telephone reservation; Online order system has emerged because of demand. Through the investigation and comprehensive analysis on process of the business, combined with the most advanced software development technology, it can realize the network management order. Currently, the online business is in formative period, it also has very big growing space.
     System not only needs food and beverage catering services through the entire system of management information systems, also need to work all kinds of human services by computer processing, such as a la carte and menu delivery and so on. At the same time, the site is an online ordering system, customers can select businesses provide network, browse the dishes described, a la carte ordering, agreed meal time, dinner or room service, and specify the currency of payment and other services. Thus, the traditional ordering methods are also turning to the Web development, but, the online ordering service is still in formation, growth is still high.
     The developmental background, significances, aims, function design, system architecture, key techniques, strategies of network security of Online Ordering Meal System were introduced in this paper, then describing the papers related theory knowledge and technology. On this basis, developing the function analysis, architecture design and detailed design. of Online Ordering Meal System. finally, testing the system.
     Second, application of methods such as object management system developed by the research, demand analysis, using UML unified modeling method to analyze the online order system, the main function module, while a detailed analysis of use cases and gives the Analysis of the UML use case diagram. Then, according to the demand on the system in the analysis of the data model involved in the design, application of data modeling tools to design a scientific management system table structure involved, and gives the relationship between science and technology management system, data model and data model diagram the data dictionary. Designed the data model, designed the data model into physical data model, and implement database applications with Hibernate persistence layer system data mapping between the design. Then, the application of DAO database access layer of the system was further package, through the DAO layer, allowing the specific business logic and persistence layer separation. Meanwhile, according to the system function modules in science and technology management system designed business logic layer in detail. Finally, in the development of system architecture based on the functional modules in detail the design and implementation, while the system deployment and testing, system implementation to obtain the desired effect. Finally, discusses the online ordering system, deployment and testing.
     Customers can browse meal product introduction, order, be agreed mealtimes, repast in this website; also meals can be sent to them in the website.The foreground of the system is made up of two parts,one is foreground login,the other is the interface of foreground. Foreground interface includes homepage, order process, meal product introduction, online order, information release, the member center and background login,etc. Background region mainly comprises food information management, order management, information management and user management modules.
     This system is popularized in small and medium-sized catering enterprises. It can optimize the catering business flow and realize the maximization of enterprise value.Meanwhile, it also makes the lowest cost, and finally enhance the competitive advantage in the catering industry.
引文
[1]张峰.JAVA进阶诀窍.清华大学出版社.2009-01.
    [2]MySQL公司.MySql中文帮助文档[M].页面文档.2006-02-11.
    [3]吴其东.JAVA模块设计实例经典.北京:冶金工业出版社.2004-06.
    [4]李世祥Struts框架应用与开发[M].东软电子出版社.2002-06-09.
    [5]陈天河Hibernate项目开发宝典[M].电子工业出版社.2004-03-23.
    [6]刘升华等.Java从入门到实践.北京:清华大学出版社.2009-09-01.
    [7]良葛格.Java学习笔记(第一版).北京:清华大学出版社.2006-08.
    [8]叶志军等.由浅入深--Java2自学教程.北京:人民邮电出版社.2004-10.
    [9]孙卫琴.精通Struts基于MVC的Java Web设计与开发[D].电子工业出版社.2006-11-13.
    [10]陈火旺,徐建波,周新莲.Web设计原理与编程技术[M].中南大学出版社.2005-07-14.
    [11][美]David M-Geary著.李建森译.Java swing图形设计卷.机械工业出版社.2000-02.[期刊]
    [12][美]Michael Kofler著.杨晓云,王建桥,杨涛等译.MySQL5权威指南.北京:人民邮电出版社.2007-03.
    [13][美]Herbert Schild著.鄢爱兰,鹿江春等译.Java参看大全(J2SE 5 Edition)北京:清华大学出版社.2006-01.
    [14]刘泽轩,江春华.基于J2EE架构的考试管理系统的设计与实现[J].北京:计算机工程与设计,2007-28(21):5218-5220,5247.
    [15]库尼亚瓦姆.深入浅出Struts[M]北京:人民邮电出版社,2002-01:59-63.
    [16]龚瑜,江红,黄永.基于Struts的Web开发[J].计算机与数字工程,2009;37(2):5862.
    [17]刘星沙,罗昔军.基于MVC模式的Struts和Spring整合框架的研究与应用[J].湘潭大学自然科学学报,2007:30(1):92-95.
    [18]戚艳军,刑继军.Ajax与Struts结合构建Web应用研究[J].西安:现代电子技 术,2008;32(22):57-58,66.
    [19]康建萍.基于MVC模式的Struts框架研究与应用[J].计算机与信息技术,2006;14(3):49—51.
    [20]阎娟娟,陈波,王乐.基于Struts和Hibernate的J2EE架构的研究[J].计算机工程与设计,2008;29(21):5498-5501.
    [21]杨涛,周志波,凌力.基于Struts和Hibernate的J2EE快速开发框架的设计与实现[J].计算机工程,2006;32(10):83-85.
    [22]陈刚.Eclipse从入门到精通.第二版.北京:清华大学出版社,2007-0721-27.
    [23]光军,胡波.JSP应用开发实例详解[M].北京:北京航空航天大学出版社,2002.18-20.
    [24]库克,谷雨.JSP从入门到精通.北京:电子工业出版社,2003-03:202-203.
    [25](美)库察那(Kuchana P),王卫军.Java软件体系结构设计模式标准指南.北京:电子工业出版社,2006-02:297-301.
    [26]张峰,李慧丽.Java Web 2.0架构开发与项目实战[M].北京:清华大学出版社,2009:720-735.
    [27]高斯林,陈宗斌,沈金河.Java编程规范.第三版.北京:中国电力出版社,2006-07:235-237.
    [28]HUANG Hai, ZHU Yue-long. Research on Application of J2EE Design Patterns and Framework Technology[J]. Computer and Modernization,2006; 22(5): 114-116.
    [29]许家殆.软件工程:方法与实践[M].北京:电子工业出版社,2007-01:313-315.
    [30]张海藩.软件工程导论.第四版.北京:清华大学出版,2003-11 134-135.
    [31]杨得新.SQL Server 2000开发与应用[M].北京:机械工业出版社,2003.145-146

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700