Now, we can effectively write RESTful APIs using the Spring Framework. We learned how to create complex objects using JSON and how we can handle them when creating requests and responses in our API. We know how we can use HTTP verbs and statuses to define the ubiquitous language of our API, to provide a clear communication to the API consumers. And finally, we learned how to handle errors and answer back to the users of our RESTful microservice.
Remember our microservices principles when you build your API, Domain-Driven Design is a perfect way to separate your API service following your domain mapping. But these APIs follow the standard approach of most microservices, using traditional blocking operations. In the next chapter, we will learn how to use non-blocking techniques to produce more responses and scalable microservices, and we will learn how the new Spring component...