0

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?

halfer
  • 19,824
  • 17
  • 99
  • 186
Mr.DevEng
  • 2,651
  • 14
  • 57
  • 115
  • I think you should go through this great article https://dzone.com/articles/microservice-architecture-with-spring-cloud-and-do – mfaisalhyder Oct 16 '17 at 15:12

1 Answers1

1

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

pan
  • 1,899
  • 1
  • 16
  • 24
  • Thank you for your response sir. I already seen those link.But my confusion is that the concepts of configuration management, service discovery, circuit breakers, intelligent routing, micro-proxy, control bus, one-time tokens, global locks, leadership election, distributed sessions, cluster state. What is the importance of these when I creating a web services?? Can you help me to clarify those all things??? – Mr.DevEng Oct 17 '17 at 10:59
  • Ah, ok. Now i got it. To bring a bit of light into your confusion, best read this article https://www.nginx.com/blog/introduction-to-microservices/ It is not covering spring boot or spring cloud, but will bring you an understanding on micro services with many of the same pattern that spring cloud is using (e.g. Service Discovery). Hope this helps. – pan Oct 17 '17 at 11:33
  • Ok.Thank you..Will explore it. – Mr.DevEng Oct 17 '17 at 12:32