摘要: 产品是为轻享早餐专门开发的一套面向高校师生的订餐系统,旨在通过网上订餐系统建立用户和商家之间的桥梁。本课题主要研究:实现地图定位、微信支付和定时订单汇总、代金券等系统重要功能;随着用户数量的不断增长,系统模块逐渐增加、复杂度逐渐提高,简单修改系统配置都要重新进行部署,不利于系统开发、部署,为了解决这些问题,尝试把轻享早餐系统改造成微服务应用,实现系统模块之间的解耦,但是又面临如何实现微服务应用中的配置中心、服务发现、断路器、智能路由、控制总线、集群监控、服务安全等问题。项目使用主流J2EE框架开发完成,基于Spring Cloud微服务开发套件解决微服务应用中的问题。70988
关键词: J2EE、分布式、MVC、Spring、Spring MVC、Spring Cloud、Mybatis
The design and implementation of mobile application system of enjoying breakfast
Abstract: The product is specially designed for enjoying breakfast for collage teachers and students ordering system。 It aims to establish a bridge between users and businesses through online ordering system。The main research of this subject is to realize the important function of map positioning, Wechat payment and timing order summary, voucher and other system。 With the increasing number of users, the system module gradually increases, the complexity gradually increases, and the system configuration must be redeployed, Is not conducive to system development, deployment, in order to solve these problems, try to enjoying breakfast system into microservices applications, to achieve the decoupling between the system modules, but also how to achieve microservices applications in the configuration center, service discovery, Circuit breaker, intelligent routing, control bus, cluster monitoring, service security etc。 The project was developed using the mainstream J2EE framework and solved the problem in microservices applications based on the Spring Cloud Micro Service Development Kit。
Keywords: J2EE、Distributed、MVC、Spring、Spring MVC、Spring Cloud、Mybatis
目录
摘要 i
Abstract i
目录 ii
1 绪论 1
1。1 课题的目的和意义 1
1。3 系统开发相关技术 2
2 分析 9
2。1 产品定义 9
2。2 项目来源及背景 9
2。3 用户的特点 9
2。4 项目目标 9
2。5 应用环境 9
2。6 角色定义 10
2。7 功能分析 10
3 设计 14
3。1 系统架构设计简介 15
3。2 系统架构设计 24
3。3 数据库设计 27
3。3。1 数据库概念设计 27
3。3。2 建表 28
3。4 系统接口设计 33
3。4。1 REST风格 34
3。4。2 API(Application Programming Interface)文档