Apr 4 in Spring
Q: What does @SpringBootApplication annotation do internally?

1 Answer

0 votes
Apr 4

As per the Spring Boot documentation, the @SpringBootApplication annotation is one point replacement for using @Configuration, @EnableAutoConfiguration and @ComponentScan annotations alongside their default attributes.

This enables the developer to use a single annotation instead of using multiple annotations thus lessening the lines of code. However, Spring provides loosely coupled features which is why we can use these annotations as per our project needs.

Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

0 votes
Apr 4 in Spring
0 votes
Apr 4 in Spring
...