SpringBoot and SpringCloud relationship with the difference?

A, SpringBoot and SpringCloud Profile

1, SpringBoot: is a rapid development framework, through inheritance MAVEN dependent manner, common framework to help us quickly integrate third-party, complete with annotations (using annotations way to start SpringMVC), simplify XML configuration, built-in HTTP server (Tomcat, Jetty ), and ultimately to a Java application execution.

2, SpringCloud: is a complete microstepping current service framework, it is an ordered collection of a series of frames. It just will present each company developed more mature, and can withstand the test of actual service framework combined, re-packaged masked a complex configuration and implementation of the principles by SpringBoot style, and ultimately to the developer set aside a set of simple and easy understand, easy to deploy and easy maintenance of distributed systems development kit. It uses facilitate the development of Spring Boot cleverly simplify the development of distributed systems infrastructure, such as service discovery registration, distribution center, message bus, load balancing, circuit breakers, monitoring and other data, can be done with the development of style SpringBoot and a key to start the deployment.

Two, SpringBoot and SpringCloud relationship and differences

1, SpringBoot just a rapid development framework, using annotations to simplify the xml configuration, built Servlet container, the Java application execution.

2, SpringCloud is a set of frame may comprise SpringBoot.

Three, SpringBoot micro-services framework it?

1, SpringBoot just a rapid development framework, can not be considered micro-services framework.

2, SpringCloud + SpringBoot implement micro-services development. Specific is, SpringCloud with the core technology developed micro-services: RPC remote call technology; SpringBoot default web components integrated SpringMVC, can achieve HTTP + JSON is a lightweight transmission, micro-writing service interface, so SpringCloud rely SpringBoot framework implement micro-services development.

Four, SpringMVC start at 3.0 supports the use of annotations way to start, so you can no longer configure traditional XML configuration file.

Guess you like

Origin www.cnblogs.com/programb/p/12549816.html