Decoding @SpringBootApplication
This single annotation is a convenience annotation that adds all of the following:
- @Configuration: Tags the class as a source of bean definitions.
- @EnableAutoConfiguration: Tells Spring Boot to start adding beans based on classpath settings.
- @ComponentScan: Tells Spring to look for other components, configurations, and services in the package.