This article is from: the chengren of "Spring SPRINGMVC spring-boot spring-cloud "
What is Spring
The definition of spring has been explained in many clear terms, both officially and commercially. I'll simply define it as a lightweight control inversion (IoC) and aspect-oriented (AOP) container , Java development Framework, as for control reversal, aspect-oriented, lightweight, container and so on these self-Baidu, many Daniel explained very clearly what is SPRINGMVC
Here, I'll leave the noun separately, spring and MVC can better explain what SPRINGMVC,MVC is a very common pattern for modern Web project development, in short, C (the controller) separates V (view, User Client) from m (module, Business), which forms the MVC The common MVC pattern Development framework in the industry is struts1,struts2 and so on. As a professional open source framework for developing Web projects, Spring SPRINGMVC is an internal module that also takes MVC design patterns. So when using spring to develop a Web project, MVC as a core can use STRUTS1/STRUTS2/SPRINGMVC what is Spring-boot
My understanding is that the spring family has a lot more products in the family, so when using the spring integrated infrastructure as the project architecture, most of the junior staff spend much of their time building the project and may not be able to figure it out. Spring-boot is to solve the development of this pain point of birth, White is to put the previous manual configuration of the process of automated encapsulation, provide the default configuration, borrowed from Daniel Summary features are:
- Simple and easy to use, beginners and Daniel can easily get started, the annotations will provide users with convenience;
- Spring Boot provides a large number of third-party interfaces by encapsulating and integrating third-party technologies.
- Configuration files such as XML are not required by relying on automatic configuration
It also provides security and other features that are not to be heeded first.
Now the boot summary is that you can start quickly, build your project quickly, save a lot of time and effort in the configuration file, and fool you into the project door to write business logic. Now, with a lot of frameworks, we're going to configure the handwriting code in minutes by spec.
What is Spring-cloud
MicroServices are a hot topic in the current architecture area, and if you want to know what a spring-cloud is, it's a hassle to figure out what a microservices is. Spring-colud is a cloud-based distributed architecture solution that can be used as a micro service in spring Cloud, with less configuration on spring boot from spring boot. I'm not used to saying a little bit, but it's easy to understand that spring cloud provides some of the most commonly used distributed components, all of which are application-oriented, similar to the root spring mvc.
What are spring Springmvc spring-boot Spring-cloud respectively