<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Auto-Configuration on Devops Monk</title><link>https://devops-monk.com/tags/auto-configuration/</link><description>Recent content in Auto-Configuration on Devops Monk</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 03 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://devops-monk.com/tags/auto-configuration/index.xml" rel="self" type="application/rss+xml"/><item><title>How Spring Boot Auto-Configuration Actually Works (Behind the Magic)</title><link>https://devops-monk.com/2026/05/spring-boot-auto-configuration-deep-dive/</link><pubDate>Sun, 03 May 2026 00:00:00 +0000</pubDate><guid>https://devops-monk.com/2026/05/spring-boot-auto-configuration-deep-dive/</guid><description>&amp;ldquo;Spring Boot is magic&amp;rdquo; is something you hear a lot. Add spring-boot-starter-data-jpa and suddenly you have a working DataSource, a JpaTransactionManager, and a LocalContainerEntityManagerFactoryBean — without writing a single @Bean method. Understanding how this actually works turns the magic into a tool you can control, debug, and extend.
The Entry Point: @EnableAutoConfiguration @SpringBootApplication is a shorthand for three annotations:
@Configuration @EnableAutoConfiguration // this is the one that matters here @ComponentScan public class MyApplication { public static void main(String[] args) { SpringApplication.</description></item><item><title>How Spring Boot Auto-Configuration Works — The Magic Explained</title><link>https://devops-monk.com/tutorials/spring-boot/spring-boot-auto-configuration/</link><pubDate>Sun, 03 May 2026 00:00:00 +0000</pubDate><guid>https://devops-monk.com/tutorials/spring-boot/spring-boot-auto-configuration/</guid><description>Spring Boot &amp;ldquo;just works&amp;rdquo; — you add a dependency and things appear in your application context. This article explains exactly how that happens, so you can debug it when it doesn&amp;rsquo;t, and extend it when you need to.
What Auto-Configuration Actually Does When you add spring-boot-starter-data-jpa to your project, you don&amp;rsquo;t write a single line of config — yet Spring creates a DataSource, EntityManagerFactory, and JpaTransactionManager automatically. That&amp;rsquo;s auto-configuration.
Auto-configuration is a set of @Configuration classes that Spring Boot ships.</description></item></channel></rss>