REST with Spring Tutorial – REST与Spring教程

最后修改: 2011年 11月 24日

Building a REST API is not a trivial task – from the high level RESTful constraints down to the the nitty-gritty of making everything work and work well.

构建REST API并不是一件简单的事情–从高水平的RESTful约束到使一切工作顺利进行的细枝末节。

Spring has made REST a first class citizen and the platform has been maturing in leaps and bounds. With the Spring 5 release, REST is now battle hardened and fully mature.

Spring使REST成为一流的公民,该平台一直在飞跃式地发展。随着Spring 5的发布,REST现在已经是战斗力强、完全成熟了

With this guide, my aim is to organize the mountains of information that are available on the subject and guide you through properly building an API.


The guide starts with the basics – bootstrapping the REST API, the Spring MVC Configuration, basic customization.

本指南从基础知识开始 – 引导REST API,Spring MVC配置,基本的定制。

It then dives into the more advanced areas of REST – HATEOAS and pagination, Error Handling and testing.

然后,它深入到REST的更多高级领域 – HATEOAS和分页,错误处理和测试。

other spring tutorials - icon

Other Spring Tutorials