Spring boot good practices

PHOTO EMBED

Thu Jun 09 2022 15:13:09 GMT+0000 (Coordinated Universal Time)

Saved by @Manu #spring-boot

you can use @ComponentScan to automatically pick up all Spring components, including @Configuration classes

You should only ever add one @SpringBootApplication or @EnableAutoConfiguration annotation. We generally recommend that you add one or the other to your primary @Configuration class only.
content_copyCOPY

https://docs.spring.io/spring-boot/docs/2.7.0/reference/html/using.html