The evolution process of springMVC to springboot

The evolution process of springMVC to springboot

Advantages of springboot:

  1. Build a project in seconds using the Spring Project Bootstrap page
  2. It is convenient to export various forms of services, such as REST API, WebSocket, Web, Streaming, and Tasks. Very simple security policy integration
  3. Supports relational and non-relational databases
  4. Supports embedded containers during runtime, such as Tomcat, Jetty's powerful development kits,
  5. Support hot start automatic management, rely on its own application monitoring, support various IEDs, such as IntelliJ IDEA and NetBeans, the disadvantage is that the integration is high,

Disadvantages of springboot

  1. It is not easy to understand the underlying layer during use.

Basic configuration of traditional springMVC

1. Download the springboot source code

阅读springboot源码之前首先要搞懂的是springmvn和springframework的源码

1) The main xml analysis in springMVC!
The main three xml configuration files: the
traditional java project entry is the main method, if it is done by spring; first, the context of spring to be initialized is from xml; the
traditional web project entry is the tomcat==web.xml method; To initialize,
ContextLoadListener(xml){ initialize spring's context----

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324353710&siteId=291194637
Recommended