From the course: Spring Boot 3 Essential Training
Unlock this course with a free trial
Join today to access over 24,600 courses taught by industry experts.
Understanding auto-configuration - Spring Boot Tutorial
From the course: Spring Boot 3 Essential Training
Understanding auto-configuration
- [Instructor] Auto-configuration is the heart of Spring Boot. It's actually the magic behind it that makes everything work. We're going to go into a lot more detail down the road into all of this auto-configuration, but I at least want to give you a cursory understanding as we get started with this course. The @EnableAutoConfiguration annotation is a powerful construct that drives much of Spring Boot. It's what allows for configuration classes to be dynamically scanned into the application context. It's based off jars that are loaded onto the class path, usually via Maven or Gradle dependency management. It's not always the case though that it's the jars on the class path, and again, we'll go into more detail of that. It's driven off of the spring.factories file that's in the META-INF directory of each jar that gets loaded into the application itself via one of those dependency management systems. And of course, we're talking about the Spring artifacts themselves. In addition, you…
Contents
-
-
-
Creating a project3m 18s
-
(Locked)
Understanding the project4m 30s
-
(Locked)
Understanding auto-configuration4m 44s
-
(Locked)
Configuration in Spring Boot5m 43s
-
(Locked)
Spring Profiles in Boot7m 30s
-
(Locked)
Building Spring Boot applications3m 20s
-
(Locked)
Containerizing Spring Boot applications5m 48s
-
-
-
-
-
-