In this chapter, we will learn about what microservices patterns are. We will also compare these with the monolithic patterns, looking at the advantages and drawbacks of a microservices-based application, as well as learn when to use microservices. Furthermore, we will also demonstrate how to switch from a traditional monolithic application to a microservices application, using implementation examples throughout. We will then look at the design patterns used to compose the microservices. After reading this chapter, you will be able to identify the parts of an application code that are eligible to be microservices, and you will also know how to implement a microservices-pattern-based application using Java EE 8.
The following topics will be covered in this chapter:
- Explaining microservices patterns
- Explaining how microservices architecture...