@SpringBootApplication
annotation is equivalent to using @Configuratio
n, @EnableAutoConfiguration
, and @ComponentScan
with their default attributes. Spring Boot enables the developer to use a single annotation instead of using multiple. But, as we know, Spring provided loosely coupled features that we can use for each annotation as per our project needs.