Q: Spring, SpringMVC, SpringBoot, SpringCloud What is the difference and contact?

Here Insert Picture Description
Spring is a lightweight brief inversion control (IoC) and the facing section (AOP) of the container frame. Spring enables you to write cleaner, more manageable, and easier to test code. Spring Spring MVC is a module, and a web frame. By Dispatcher Servlet, ModelAndView and View Resolver, web application development easy. Mainly targeted at web application or service development --URL routing, Session, template engine, static Web resources, and so on. Spring configuration complex, cumbersome, so the introduction of the Spring boot, convention over configuration simplifies the configuration process of spring. Spring Cloud builds on Spring Boot, it is a global concern service governance framework. Spring VS SpringMVC: Spring stop is a lightweight java development framework, the core is inverted control (IOC) and the facing section (the AOP), directed to the development of WEB layer (SpringMVC), the business layer (Ioc,), persistence (the jdbcTemplate) so provide a variety of configurations solution; SPRINGMVC Spring MVC framework is a basis, the main processing path mapping and web development view rendering, layer portion wEB Spring framework developed belongs; SpringMVC VS SpringBoot : SpringMVC belonging to a business MVC WEB development framework, comprising a front end view of the development of coverage, the configuration file, the background development interface logic, XML, config arranged at relatively cumbersome and complex; SpringBoot SpringMVC frame relative to the frame, the more focused on the development micro Interface service background, not to develop a front end view; SpringBoot and SpringCloud: SpringBoot used the default configuration is greater than the idea of ​​Spring integrates multiple plug-ins for rapid development, while automatically filtering redundant configuration does not require plug-ins to simplify the configuration of the development project process, cancel the xml configuration to a certain extent, it is a fast configuration Hair scaffolding, can quickly develop a single micro services; SpringCloud most features plug-ins are based on SpringBoot to achieve, SpringCloud focus on micro-service integration and management of global, multiple SpringBoot single micro-service integration and management; SpringCloud depends on SpringBoot development, and SpringBoot can be developed independently; conclude: § Spring is the core, provides the underlying functionality; § § Spring MVC Based on a Spring MVC framework; § § Spring Boot is to simplify the rapid development of integrated packages Spring configuration; § § Spring Cloud services governance framework is built on top of Spring Boot. § The so-called skills are more than body, each book we read, have learned every language, in the future Zhibuding can give us unexpected feedback yet. In fact, as a developer, there is a learning atmosphere with a circle of exchange is particularly important here, I recommend a Java learning exchange group 342,016,322, whether you are white or Daniel welcome settled, everyone exchanges grow.

Published 28 original articles · won praise 6 · views 5509

Guess you like

Origin blog.csdn.net/weixin_44545088/article/details/104438724