Unlike other chapters and applications that we have seen so far in this book, this chapter introduced a new type of application development in a distributed environment. The term microservice has existed since 2011. It has emerged as an enhancement of previous architectures.
With the introduction of Spring Cloud, developers can provide an implementation of various common patterns in a distributed environment. Starting with Spring Boot, creating a microservice application just takes a few configurations.
At the beginning of this chapter, we have explored what a microservice is and how it differs from the monolithic architecture, followed by various principles and criteria that need to be adhered to if you want to develop a microservice system. We then explored various Spring Cloud components and other Netflix OSS components in brief.
We have also learned how to create a microservice application by building a real-life example—an online bookstore application. We started with the application...