What is spring boot?
Spring Boot is a new framework provided by the Pivotal team. It is designed to simplify the initial construction and development process of new Spring applications.
In the large family of Spring framework, many derivative frameworks have been produced, such as Spring, SpringMvc framework, etc. The core content of Spring lies in inversion of control (IOC) and dependency injection (DI). The so-called inversion of control is not It is a technology, but an idea. In terms of operation, it refers to creating a
SpringBoot is a framework, a brand-new programming specification. Its emergence simplifies the use of the framework. The so-called simplification means simplifying the large number of cumbersome configuration files required in many Spring frameworks, so SpringBoot is A framework that serves frameworks whose service scope is simplified configuration files.
The most obvious feature of SpringBoot is, which makes file configuration quite simple and application deployment simple (SpringBoot has a built-in server and is equipped with startup class code), and can quickly open a Web Containers for development.
Core functions of Spring Boot
1. Spring projects that can be run independently: Spring Boot can be run independently in the form of a jar package.
2. Embedded Servlet container: Spring Boot can choose to embed Tomcat, Jetty or Undertow, and there is no need to deploy the project in the form of a war package.
3. Simplified Maven configuration: Spring provides recommended basic POM files to simplify Maven configuration.
4. Automatically configure Spring: Spring Boot will automatically configure the Spring framework based on project dependencies, greatly reducing the configuration used by the project.
5. Provide production-ready functions: Provide functions that can be used directly in the production environment, such as performance indicators, application information and application health checks.
6. No code generation and xml configuration: Spring Boot does not generate code. All configurations of Spring can be achieved without any xml configuration at all.
The above is the detailed content of What is springboot?. For more information, please follow other related articles on the PHP Chinese website!