Nowadays, SpringBoot is becoming more and more popular, and more and more companies choose to use SpringBoot as the development framework of projects. Its design purpose is to simplify the construction and development process of Spring projects, and omit the cumbersome configuration of traditional Spring and SpringMVC projects, so that developers can get started quickly.
It takes the idea of building production-ready applications over configuration conventions, and over time, you’ll love it, trust me.
Spring Boot profile
Spring Boot is a new framework in the Spring family that simplifies the creation and development of Spring applications, It can also be said that Spring Boot can simplify our previous development process using SpringMVC + Spring + MyBatis framework.
Spring Boot makes it very easy and fast to create applications based on the Spring framework. It makes coding, configuration, deployment, and monitoring simple. Because Spring Boot simplifies the complexity and makes development extremely simple and fast, it attracts much attention in the industry.
Features of Spring Boot
Ability to quickly create Spring-based applications
1) Can directly use Java Main method to start the embedded Tomcat server to run Spring Boot program, without deploying war package file
2) Provide starter POM to simplify Maven configuration and make Maven configuration simple
3) Automatic configuration: Spring Boot automatically configures Spring and Spring MVC according to the Maven dependency configuration of the project
4) Provide the program health check and other functions
5) Basically do not use XML configuration files at all, using annotations configuration
Spring Boot four cores
Automatic configuration, start dependency, Actuator, and command line interface
The main goals of SpringBoot are:
- A fundamentally faster start up development experience for all Spring development (faster and easier);
- Out of the box, As requirements change, SpringBoot helps us solve many common problems, such as integrating other components quickly;
- Provides a range of non-functional functions common to large projects (such as embedded servers, security, performance metrics, health checks, externalized configuration) with no code generation at all and no XML configuration required;
To sum it up:
Spring family launched the SpringBoot framework is to simplify the configuration and development of Spring, making the development based on the Spring framework more fast and convenient, simplify or reduce the relevant configuration, improve the development efficiency;
The next article takes you through developing your first Spring Boot project