1、I 基 于 android 的校园 外卖 系统的设计与实现 II 摘 要 在校园传统的外卖模式下,依靠电话订餐是高校目前最主要的订餐方式。这样的外卖订餐方式给店家和顾客都带来了极大的不便,已经不能适应广大师生对外卖的需求。我们希望使用方便快捷的网上订餐的方式极大地提高外卖交易的效率,将订餐的功能移植到我们随身携带的手机上。在这种情况下,基于 android的校园 外卖 系统应运而生。 我们以 Java EE 作为开发平台,利用 UML 工具对系统进行建模,运用 MVC模式开发思想,采用 Struts2 框架技术实现系统整体的框架,借助 JSO
2、N 的数据传输方式实现客户端与服务器之间的请求响应实现了该系统。作者主要完成系统的需求获取及分析、数据库的设计、系统框架的搭建以及商家模块代码的编写。 本文对系统开发背景、实现目标及系统开发框架及工具进行了简单的介绍;使用功能结构图及用例图对系统需求进行分析;详细阐述了数据建模的过程并给出了类图的设计;最后对商家模块以及系统部分关键技术的实现做了详细的说明。 关键词: Android; MVC; Struts2; SQL Server;订餐商家客 户端 Abstract III Abstract In the campus, the traditional
3、delivery mode relying on telephone reservation is the main order way. This mode may cause big inconvenience for merchants and customers, and cant satisfy the needs of fast speed, high efficiency from students and teachers, also cant catch up the demand for merchants to earn more. So we want the deli
4、very order trading become more convenient, quicker and transplant the function of the online order on the phone, the campus ordering system arises at this moment based on android. We had completed this system by using Java EE as a development platform, UML tools for system modeling and
5、the MVC pattern as the development of ideas. The whole system was realized by using the Struts2 framework and was based on JSON data transmission, so as to realize request response between the client and the server. In this system, the author mainly completed the requirement acquisition and th
6、e analysis for system, the database design, the construction of the system framework and the businessman module code to write. This paper introduces the development background of the system and the goal of achievement, also mentions the development framework and tools which were carried on in the system. Meanwhile, it uses a function structure diagram and case diagrams to analyze system requirements, describes the process of data modeling and presents the class diagram design in detail. At last, this paper ends up with explaining t