InterviewSolution
Saved Bookmarks
| 1. |
What does the @SpringBootApplication annotation do internally? |
|
Answer» The @SpringBootApplication ANNOTATION is EQUIVALENT to using @Configuration, @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. |
|