摘 要
在IT不断发展的时代,人们对计算机的需求也越来越大。人们生活的节奏也加快了,时间观念变的更强了。现在社会,下馆子吃饭已成为家常便饭。然而我们在吃饭的时候经常会因为人特别多而排队等待就餐。这就会影响到饭店的收益。
21世纪,出现了安卓系统,同时互联网时代有了重大变革,为了适应人们快节奏的生活,缓解餐厅就餐高峰时期的压力,基于Android的餐厅点餐系统的设计也应运而生。这个系统能提高人们点菜的效率,同时也能节省餐厅服务人员的劳动力和餐厅的雇用成本。我的设计主要包括后台数据库服务器、Web服务器、网络、Android点餐前端等,并采用了JAVA、ANDROID技术,MYSQL数据库,使用MyEclipse、TOMCAT等开发环境和开发工具。该设计主要功能包括以下几个方面:点菜管理:菜单查询、添加新菜、删除和修改菜单;更新菜单;用户登录;点餐功能;更新个人信息与修改密码。本篇论文解释了这个系统的设计和设计思想,。使用这个点餐系统,能够大大的缓解餐厅高峰期时段的压力,并且能提高餐厅业主的营业额,还能使顾客更加愉快效率的就餐。
关键词:Android,订餐系统,Java,Web服务器
Design and Information of Restaurant Ordering System Based on Android
ABSTRACT
Evolving in the IT era, the demand for computers is also growing. Also accelerated the pace of people's lives, the concept of time to become stronger. Society, eating out has become the order of the day. However, when we eat often because many people, especially queued dining. This will affect the revenue of the hotel.
The 21st century, the Andrew system, while the age of the Internet has seen many changes in order to adapt to the fast-paced life, to ease the pressure of the restaurant during the peak period, based on Android's restaurant located in the system design have emerged. This system can improve the efficiency of people a la carte, but also can save the cost of hiring labor and restaurants of the restaurant staff. My design includes a back-end database servers, Web servers, network, Android ordering front-end, and the use of the Java and Android technology, MySQL database, use myeclipse Tomcat development environment and development tools. The main features of the design include the following aspects: a la carte management: Query menu, add a new dish, delete, and modify menu; update the menu; user login; ordering; update personal information and change your password. In this paper, we explain the system design and design ideas. Use this ordering system, can greatly ease the pressure of the the restaurant peak of time, and can improve the turnover of the restaurant owners, but also to make customers more enjoyable and efficient dining.
Keywords: Android, Java,Ordering System,Web Servers
目 录
基于Android的餐厅点餐系统设计与实现 I
Design and Information of Restaurant Ordering System Based on Android II
ABSTRACT II
目 录 III
第1章 开发环境介绍 1
1.1 JAVA概述 1
1.2 Android概述 1
1.2.1 Android的平台架构 1
1.2.2 Android SDK的开发环境 2
1.3 Tomact概述 3
1.3.1 Tomcat的简介 3
1.4 MySQL概述 3
1.4.1 MySQL的简介 3
第2章 需求分析 4
2.1 功能需求 4
2.3 性能需求 5
2.4 可行性分析 5
第3章 总体设计 5
3.1 总体设计重要性 5
3.2 系统架构图 6
3.3 数据模型图 7
3.4 程序流程图 8
第4章 详细设计 10
4.1 资源规划 10
4.2 系统数据库设计 11
4.3 界面设计 13
第5章 系统编码实现 20
5.1 服务器端实现 20
5.1.1 服务器端工程创建过程 20
5.1.2 登录模块服务器端实现 26
5.1.3 显示菜单信息服务器端实现 28
5.1.4 点菜功能服务器端实现 29
5.2 Andorid客户端实现 30
5.2.1 登录模块客户端实现 30
5.2.3 订餐客户端实现 31
5.2.4 客户端更新菜单功能实现 32
第6章 系统编码实现 33
6 系统测试 33
6.1 概述 33
6.1.1概念和意义 33
6.1.2 特性 34
6.1.3重要性 34
6.2 本系统测试描述 35
第7章 结 论 36
参考文献 36
致 谢 37
第1章 开发环境介绍
1.1 JAVA概述
Java,是由Sun Microsystems公司于1995年5月推出的Java程序设计语言和Java平台的总称。
Java有以下特点:第一,平台无关性 ,Java能运行于不同的平台。Java引进虚拟机原理,在虚拟机中运行,java接口可多继承。并且java编写的程序共享性十分广泛延伸到世界范围内。第二,安全性 ,我们刚接触编程的时候,都是先学C语言,在学C++,这三门语言有很多想通之处。学过这三门语言的都知道,只要学过其中一种,在接触另俩种语言都能很轻松快速的学会。但是Java舍弃了C++的指针对存储器地址的直接操作,当我们运行程序的时候,内存由操作系统分配,这就有效的防止了病毒通过指针入侵系统的弊端。第三,面向对象,Java属于纯面向对象,这样便于程序员写程序时的构思和设计。第四 ,分布式,主要用在EJB上。Java建立在扩展TCP/IP网络平台上。库函数提供了用HTTP和FTP协议传送和接受信息的方法。我们对网络文件的使用就像对本地文件使用一样的容易。第五,健壮性。在我们编译和运行java程序时,java能有效的检查其出现的错误。在我们开发早期出现错误的时候,类型检查能有效的查出并帮助我们解决后期不必要的麻烦。