Annotations
Annotations in Java provide more information to Java on the class, method, variable or parameter.
@ComponentScan
Scans for all types of components that should be created. @ComponentScan(basePackages = {“big.services”, “big.tom”}) will scan classes in the big.services and big.tom folders instead of only the default package and downwards.
@RequestMapping
This is the front controller that looks at the incoming URL and decides which @Controller bean should handle this URL mapping. It is usually declared at the method level with the class being declared as a @Controller.
@Qualifier
Allows you to specify the bean name to be injected through its annotation parameter.
@Configuration
Labels the class as a spring configuration class. Note that with a parameter @ exclude, you can exclude classes in configuration.
@EnableAutoConfiguration
Automatically wires up default configuration.
@SpringBootApplication
This annotation combines the @ Configuration, @ EnableAutoConfiguration and @ ComponentScan annotations.