Current location - Health Preservation Learning Network - Slimming men and women - What does springbok do?
What does springbok do?
Spring Boot is a brand-new framework provided by Pivotal team, and its design purpose is to simplify the initial construction and development process of new Spring applications.

It uses the concept that habit is better than configuration to make the project run quickly. Using Spring Boot, you can create a quasi-production project that runs independently (running jar, built-in Servlet container, Tomcat, jetty) and is based on Spring framework. The core function of Spring Boot is automatic configuration, which reduces the complexity of project construction.

It does not provide the core features and extended functions of the Spring framework itself, but is only used to develop a new generation of applications based on the Spring framework quickly and agilely. Spring Boot provides a series of endpoints that can monitor services and applications and perform health checks.

Advantages of Spring Boot

1, running independently: Spring Boot can create an independent and runnable jar package, which contains a Servlet container (such as Tomcat and Jetty), and only needs one command to run the project.

2. Simplify configuration: By using the concept that habit is better than configuration, Spring Boot simplifies a lot of configuration work, and developers only need to write a few configuration files.

3. Automatic configuration: Spring Boot can automatically configure bean according to the classes and jar packages in the current classpath. For example, adding a Spring-Boot-Starter-web Launcher can have the functions of the Web without other configuration.

4. No need for code generation and XML configuration: No need for code generation or XML configuration file in the configuration process of Spring Boot, all this is done with the help of conditional comments.