摘要
针对传统的基于SOAP的web应用复杂性较高、效率较低等问题,提出了一种基于RESTful架构的Web服务的应用思路,并研究了RESTful架构在当前比较流行的Spring框架中的应用规则,最后通过某烟草集团仓库管理系统的部分设计展示了从资源的规划和数据库、控制器、RESTfu1URL的设计过程。丰富了Web应用的开发模式。同时也降低了系统应用在开发过程中的复杂性,提高了开发效率,非常具有实用性。
Aiming at the traditional problem of SOAP Web application complexity is higher and low efficiency,the paper proposes a design idea of RESTful architecture based on Web services,and researches the application rules on RESTful architecture in Spring framework,it is more popular currently.Through the design of Jiangxi tobacco warehouse management system shows the process from design resources the planning and database,RESTfu1 controller,URL.It enriches the development model of Web applications.At the same time,it also reduces the complexity of the system application in the development process,improves the development efficiency,and is very practical.
作者
张志
胡志勇
ZHANG Zhi;HU Zhi-yong(Wuhan Research Institute of Posts and Telecommunications,Wuhan 430074 China;Wuhan Hongxin Technology Service Co.,Ltd.,Wuhan 430074 China)
出处
《自动化技术与应用》
2018年第10期33-37,共5页
Techniques of Automation and Applications