spring restful

什么是RestFul风格:
一种软件架构风格、设计风格,而不是标准,只是提供了一组设计原则和约束条件。它主要用于客户端和服务器交互类的软件。基于这个风格设计的软件可以更简洁,更有层次,更易于实现缓存等机制。

历史:
REST 来自于Roy Thomas Fielding 2000年的博士论文 - 《Architectural Styles and the Design of Network-based Software Architectures》

基本概念
Representational State Transfer,is one way of providing interoperability between computer systems on the Internet. 
restful风格实现的机制有多种,常见的有RPC和基于web的服务

用java实现RESTFUL
spring良好的支持restful风格,我们用springboot实现rest风格

猜你喜欢

转载自www.cnblogs.com/carpe/p/10668490.html