Spring Boot provides Web Services auto-configuration so that all is required is defining your Endpoints.
Endpoints
The Spring Web Services features can be easily accessed via the spring-boot-starter-webservices module.
spring-boot-starter-webservices