SpringBoot_ entry

Spring boot Introduction

1, Spring boot is a new framework Spring family, which is used to simplify the creation and development of Spring applications, it can be said Spring boot before we can simplify the use of Spring mvc + Spring + MyBatis framework for process development;

2, in the past, we used Spring mvc + Spring + MyBatis framework for the development of the time, to build and integrate the three major frameworks, we need to do a lot of work, such as configuration web.xml, to configure Spring, configure MyBatis, and integrate them together, etc. while Spring boot the framework of this process was the development of a revolutionary subversion, abandoned the cumbersome xml configuration process, using a large number of default configuration streamline our development process;

3, so the use of Spring boot can be very easily and quickly create applications based on the Spring Framework, which allows coding becomes easy, simple configuration change, change the deployment of simple, easy to monitor change;

4, because Spring boot simplify it, so that development becomes extremely simple and fast, so much attention in the industry;

5, Spring boot trend in the country's attention: http://t.cn/ROQLquP

Characteristics of Spring boot

1, to quickly create a Spring-based applications;

2, can be used directly java main method to start the embedded Tomcat, Jetty server running Spring boot program, do not need to deploy the war package file;

3, to provide the agreed starter POM Maven to simplify the configuration, so Maven configuration becomes simple;

4. The configuration Maven project dependencies, Spring boot autoconfiguration Spring, Spring mvc like;

5, provides health screening procedures and other functions;

6, which can be completely without the use of XML configuration files, configuration using annotations;

Spring boot four core

1, the automatic configuration: Spring for many common applications and application functionality, Spring Boot automatically provide configuration;

2, starting dependence: Spring Boot tell what needs to function, it will be able to introduce dependencies needed;

3, Actuator: let Spring Boot applications you can run in-depth, internal information, Spring boot program of exploration;

4, the command-line interface: This is an optional feature of Spring Boot mainly used for Groovy language;

 

Guess you like

Origin www.cnblogs.com/Tunan-Ki/p/11762220.html