Concept
Spring Boot configures beans for the libraries on your classpath, with sensible defaults you can override. Adding a starter dependency is often all it takes to get a working web server or database connection.
The tutor works through these with you, in conversation and code. A session ends when you have shown them, not when a video does.
A few lines that show Auto-configuration doing its job.
@SpringBootApplication // = @Configuration + @EnableAutoConfiguration + @ComponentScan
public class App {
public static void main(String[] args) { SpringApplication.run(App.class, args); }
}
// Define your own bean and the matching auto-configured one steps aside:
@Bean
ObjectMapper objectMapper() { return new ObjectMapper().findAndRegisterModules(); }Fighting auto-configuration with @ComponentScan on the wrong package or an @Configuration that duplicates a starter. Run with --debug to see the condition evaluation report and what was configured and why.
Your roadmap puts these before Auto-configuration, unless you already know them.
Once a session shows you understand Auto-configuration, it comes back for review. Each review takes a minute and tells the memory model how well you still know it.
Topics that build on Auto-configuration.