Implementing microservices using Spring Boot

A microservice can be implemented in many ways; in the previous section, we saw one way to implement it, using WildFly Swarm, which is a MicroProfile implementation. In this section, we will see how to implement a microservice using Spring Boot, which is not a MicroProfile implementation but is a popular framework.

Spring Boot (https://spring.io/projects/spring-boot/) is a framework to create standalone Spring applications. Refer to Chapter 8Creating Web Applications with Spring MVC, for more information on Spring and specific information on the Spring MVC framework. Similar to the WildFly Swarm Project Generator, Spring Boot also has a web page for creating a starter application for Spring Boot, ...

Get Java EE 8 Development with Eclipse 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.