Selected Java Interview Questions
Apr 18, 2024 · Backend Development
Understanding @Configuration vs @Component Bean Overriding in Spring Boot 2.0.3
This article explains why a Spring Boot 2.0.3 application creates two UserManager beans when both @Configuration + @Bean and @Component are used, how the container decides which instance is injected, and how newer Spring versions allow developers to control bean‑definition overriding via configuration.
Backend DevelopmentBean OverridingConfiguration
0 likes · 8 min read