Search code examples
spring-cloud

Implementation of Spring Boot microservice using Spring Cloud


I am a beginner in Spring mvc, Spring Boot and Spring Data JPA. I am trying to create Microservices using Spring Boot. I created a sample database CRUD operation as microservice in Spring Boot. Now I have A requirement that develop a microservice using Spring Cloud.

When I referring documentation seeing Spring tools for creating application in distributed environment. I am confused about why we are using Spring Cloud? And what is actually meant by Spring Cloud? Is there any relation with Spring mvc?


Solution

  • Spring Cloud is for developing some of the common patterns in distributed systems.

    Spring Cloud provides tools for developers to quickly build some of the common patterns in distributed systems (e.g. configuration management, service discovery, circuit breakers, intelligent routing, micro-proxy, control bus, one-time tokens, global locks, leadership election, distributed sessions, cluster state) Spring Cloud

    For Spring Boot and Spring MVC, see this nice answer difference-between-spring-mvc-and-spring-boot