Spring Boot 2.0 depth practice - first met Spring Boot

Chapter 1 Introduction Course

Details Spring Boot technology system, the relationship between the Spring Framework, as well as recommend some books and reference code samples Spring Boot learning.

Chapter 2 a Spring Boot project

Maven build environment combined with IDEA project, and write your first REST program, including the traditional Spring Web MVC and Spring 5.0 Web Flux newly introduced, then run in this environment. After more familiar way, then introduce official Spring Start way to build the project.

Chapter 3 built, multi-module and mode of operation

Create a multi-module Maven project, the different sub-divided into different functional modules, and manage their dependencies, and ultimately achieve a unified operation. And describes two main Java EE packaging format, and describes their use scenarios, and when the multi-module, set the bootstrap class (Main Class) manner. Three different operating modes, as well as its adaptation to the usage scenarios described.

jar

D:\shen\java\webdevelop\spring\msgcenter>mvn -Dmaven.test.skip -U clean package

war

Add the appropriate directory

Set the properties of packaging pom

D:\shen\java\webdevelop\spring\msgcenter>mvn -Dmaven.test.skip -U clean package

PS: Every emptied results of the last compiled before compiling by clean

 

tomcat container

 

Embedded web container

 

Chapter 4 Lessons Learned

The curriculum summary

Published 105 original articles · won praise 33 · views 30000 +

Guess you like

Origin blog.csdn.net/github_38596081/article/details/104281357