Chapter 1, Introduction
- Spring Boot is a standalone, production-grade, flexible, and extensible application development framework for building enterprise-grade Spring applications with minimum code and configurations.
- A class annotated with the
@SpringBootApplication
annotation and a Javamain
method that calls theSpringApplication.run
method with the class annotated with@SpringBootApplication
and themain
method arguments:
@SpringBootApplication public class SpringBootIntroApplication { public static void main(String[] args) { SpringApplication.run(SpringBootIntroApplication.class, args); } }
- Spring Boot 2.0 requires at least Java 8 to develop and run applications.
- HTTP/2 is an improved version of HTTP that has introduced support for multiplexing, push, and header compression from the ground up to enable efficient communication between client and server.
- The default dispatcher type for a Spring Boot 2.0 Servlet Filter is
DispatcherType.REQUEST
. - The next minor release version of Spring Boot 2.0, which is in milestone plan, is Spring Boot 2.1.0.
- A Spring Boot 2.0 application with JPA starter will by default use HikariCP, which is the fastest and most efficient connection pooling framework available at the moment.