The difference springBoot and springMVC

springMVC

1, is based on a Servlet MVC framework (DispatcherServlet, ModelAndView, ViewResolver), solve web development problems

The disadvantage is: configure complex

To simplify use, only came into being springBoot: convention over configuration

springMVC problem is the web application / service development -> URL routing, session, static web resources, etc.

 

springBoot

1, it integrates a large number of third-party configuration Jackson, JDBC, Mango, redis, mail, etc., and in conjunction with spring framework, developer tools for lifting spring, spring is not used as a substitute

2, do not have to install a separate tomcat such servers, embedded tomcat

2, maven played jar package is a website run directly up

Business logic implementation did not change

Advantages: 1, projects need to deploy war package form, in the form of jar package operate independently, without external dependencies Servlet Container

     2, rapid deployment, fast development

SpringBoot difference with the SSM: springBoot less configuration, a combination of annotations to simplify the development, deployment simple built-in container, while the SSM in spring, springMVC, myBatis must be configured

 

 

 

another:

spring ---- "engine

springMVC ---- "based on spring MVC framework

springBoot ---- "on condition spring 4 registered a rapid development of integrated package.

 

Guess you like

Origin www.cnblogs.com/blackdd/p/12322043.html