Brief introduction
Spring Boot is a new framework provided by the pivotal team designed to simplify the initial setup and development of new spring applications. The framework uses a specific approach to configuration, which eliminates the need for developers to define boilerplate configurations. In this way, Spring boot is committed to becoming a leader in the burgeoning field of rapid application development (rapid application development).
Core features of Spring Boot
Spring boot can run independently as a jar package, and running a spring boot project only needs to run through Java-jar Xx.jar.
Spring Boot can choose to embed Tomcat, jetty, or undertow so that we do not need to deploy the project as a war package.
Spring provides a series of starter Pom to simplify the dependency loading of maven.
Spring Boot automatically configures beans for the classes in the jar package based on the jar packages, classes in the classpath, which greatly reduces the configuration we want to use. Spring boot only considers most of the scenes, not all of them.
Spring Boot provides monitoring of the runtime's projects based on HTTP, SSH, and Telnet.
Spring boot is not implemented by code generation, but by conditional annotations, which is a new feature of Spring 4.x. Spring 4.x advocates the use of a combination of Java configuration and annotation configurations, and spring boot does not require any XML configuration to implement all of the spring configurations.
quickly build a spring Boot project1, open the idea comes with the Spring boot plugin, I operate when idea does not show spring Initializr, need to be opened in the settings.
2. New Spring INITIALIZR Project,
3, fill in the project information,
4, select the technology used in the project,
5, fill in the project name, Finish.
6. Testing
7. Run the project and run it as a Java class, select it from the right-click menu,
8. Results
Use idea to build a Spring Boot starter project