* `@ComponentScan`: enable `@Component` scan on the package where the application is located (see <<using-boot-structuring-your-code,the best practices>>)
* `@ComponentScan`: enable `@Component` scan on the package where the application is located (see <<using-boot-structuring-your-code,the best practices>>)
* `@Configuration`: allow to register extra beans in the context or import additional configuration classes
* `@SpringBootConfiguration`: an alternative to Spring's standard `@Configuration`, allow to register extra beans in the context or import additional configuration classes
[source,java,indent=0]
[source,java,indent=0]
----
----
...
@@ -373,7 +373,7 @@ A single `@SpringBootApplication` annotation can be used to enable those three f
...
@@ -373,7 +373,7 @@ A single `@SpringBootApplication` annotation can be used to enable those three f