How Does Spring Boot Auto-Configuration Work?

What Is It?

As its name implies, "autoconfiguration" helps you to configure your Spring Boot application automatically. More precisely, it automatically create beans for you! Strangely, it is a cool feature, but not applicable outside of Spring Boot. 

The Purpose and Method

The purpose is simple: to save you time when you create beans, which is usually done by yourself. It sounds like magic, but behind the scene, it's nothing fancy actually.