Spring boot and Spring cloud relationship

Source: Internet
Author: User

The company uses spring cloud, so take a little look

Take a look at Spring's website's explanation of spring boot and spring cloud

Spring Boot

Spring Boot makes it easy to create stand-alone, Production-grade Spring based applications so you can "just run". We take a opinionated view of the Spring platform and third-party libraries so you can get a started with minimum fuss. Most spring Boot applications need very little Spring configuration.

Spring Cloud
Spring Cloud provides tools for developers to quickly build some of the common patterns in distributed systems (e.g. confi Guration Management, service discovery, circuit breakers, intelligent routing, micro-proxy, control bus, one-time tokens, Global locks, leadership election, distributed sessions, cluster State). Coordination of distributed systems leads to boiler plate patterns, and using Spring Cloud developers can quickly stand up Services and applications that implement those patterns. They would work well in any distributed environment, including the developer ' s own laptop, bare metal data centres, and mans Aged platforms such as Cloud Foundry.

    • Spring Boot is hoping to address many of the spring configuration files with annotations (Annotation) to quickly build Web applications like Python's flask and ruby rails, especially the rest API prototypes

    • Spring Cloud is a spring boot-based toolkit for cloud application developers

Characteristics of each:

Spring Boot

Features
Create stand-alone Spring applications
Embed Tomcat, Jetty or undertow directly (no need to deploy WAR files)
Provide opinionated ' starter ' POMs to simplify your Maven configuration
Automatically configure Spring whenever possible
Provide production-ready features such as metrics, health checks and externalized configuration
Absolutely no code generation and no requirement for XML configuration
The reference guide includes detailed descriptions of all the features, plus a extensive howto for common use cases.


Spring Cloud

Spring Cloud builds on Spring Boot by providing a bunch of libraries, enhance the behaviour of an application when add Ed to the classpath. You can take advantage of the basic default behaviour to get started really quickly, and then if you need to, can co Nfigure or extend to create a custom solution.

So, to learn spring cloud you have to first learn spring boot

Spring boot and Spring cloud relationship

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.