AutoConfiguration Articles
2 articles about AutoConfiguration. Explore Spring Boot implementation, design, and operations across related topics.
-
What Is @SpringBootApplication in Spring Boot? Understanding It by Breaking It Down into 3 Annotations
A beginner-friendly explanation of what the @SpringBootApplication annotation on a Spring Boot main class is. We walk through its three building blocks (@SpringBootConfiguration, @EnableAutoConfiguration, and @ComponentScan) and confirm with working code when to use scanBasePackages, exclude, and the --debug report.
-
How to Create Your Own Custom Starter in Spring Boot - AutoConfiguration and Metadata Setup
A guide to promoting shared internal logging configuration and external API integration Beans into a custom Starter that activates simply by adding a dependency. From splitting the autoconfigure and starter modules, @AutoConfiguration, AutoConfiguration.imports registration, conditional configuration with @ConditionalOn, to @ConfigurationProperties and generating configuration metadata JSON, we build everything end-to-end in a hands-on manner.