From the course: Spring Boot 2.0 Essential Training
Unlock the full course today
Join today to access over 22,500 courses taught by industry experts or purchase this course individually.
Understanding auto-configuration
From the course: Spring Boot 2.0 Essential Training
Understanding auto-configuration
- [Instructor] Auto-configuration is the heart of Spring Boot. It's what actually is the magic behind it all that makes it all work out. You notice that we got a web application in Tomcat up and running without doing any configuration. And that's because of auto-config. Now we're going to go into a lot more detailed down the road with all of this auto-configuration, but I at least want to give you some cursory understanding as we get started in this course. The EnableAutoConfiguration annotation is a powerful construct that drives much of Spring Boot. It is what allows for configuration classes to be dynamically scanned into the application context. It's based off JARs hat are loaded on the class path. Usually via Maven or Gradle dependency management. It's not always the case though, that is the JARs in the class path, and again, we'll go into that in a lot more detail. Ultimately it's driven off the spring.factories file…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
Booting from the web4m 20s
-
(Locked)
Understanding the project3m 41s
-
(Locked)
Understanding auto-configuration4m 49s
-
(Locked)
Configuration in Spring Boot5m 57s
-
(Locked)
Spring Profiles in Boot5m 54s
-
(Locked)
Building Spring Boot applications2m 48s
-
(Locked)
Containerizing Spring Boot applications7m 20s
-
-
-
-
-