Understanding Spring Boot @Configuration and @Bean Annotation
In Spring Boot, a @Bean is a method-level annotation that is used to declare a bean and register it with the Spring container. And @Configuration annotation is used in Spring…
Favourite tutorials for developers
In Spring Boot, a @Bean is a method-level annotation that is used to declare a bean and register it with the Spring container. And @Configuration annotation is used in Spring…
Normally you declare all the beans or components in XML bean configuration file, so that Spring container can detect and register your beans or components. Actually, Spring is able to…
The Spring Framework is a very robust framework, released in 2002. Its core features can be applied to plain Java applications or extended to complex, modern web applications. With such…