Microservices with Spring Boot

As we have already discussed, the microservice architecture allows us to divide a large system into a number of collaborating components. As you know, the Spring Framework provides loosely coupled components at the component level; similarly, the microservice with Spring Boot provides loosely coupled processes at the process level.

Here we are dividing a monolithic application into smaller microservices, and deploying each service as a single responsibility within a bounded context.

By using the auto-configuration behavior of Spring Boot, we can easily create several microservices. Spring Boot provides Starters that we can add to the microservice application and deploy with the embedded containers.

Spring Cloud ...

Get Mastering Spring Boot 2.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.