in Technology by
What are the Basic Annotations that Spring Boot Offers?

1 Answer

0 votes
by

The primary annotations that Spring Boot offers reside in its org.springframework.boot.autoconfigure and its sub-packages. Here are a couple of basic ones:

@EnableAutoConfiguration – to make Spring Boot look for auto-configuration beans on its classpath and automatically apply them.

@SpringBootApplication – used to denote the main class of a Boot Application. This annotation combines @Configuration, @EnableAutoConfiguration, and @ComponentScan annotations with their default attributes.

Related questions

0 votes
    The embedded server that starts up with the Spring boot application is ____________. A. Tomcat server B. Weblogic server C. None of the options D. Server has to be configured...
asked Nov 8, 2022 in Education by JackTerrance
0 votes
    What are the Spring Boot CLI commands?...
asked Jul 7, 2021 in Technology by JackTerrance
0 votes
    What is Spring Boot CLI and what are its benefits?...
asked Jul 7, 2021 in Technology by JackTerrance
0 votes
    What are the advantages of using Spring Boot?...
asked Jul 5, 2021 in Technology by JackTerrance
0 votes
    Which Embedded Containers Are Supported by Spring Boot?...
asked Nov 15, 2020 in Technology by Editorial Staff
0 votes
    What are starter dependencies in Spring boot?...
asked Jul 7, 2021 in General by JackTerrance
0 votes
    What are the advantage Spring Boot over Spring?...
asked Jul 5, 2021 in Education by JackTerrance
0 votes
    What are the Spring Boot key components?...
asked Jul 5, 2021 in Education by JackTerrance
0 votes
    Spring Boot is example of __________. A. Service Deployment B. Service registry C. Chassis Framework D. API Gateway...
asked Jan 11, 2023 in Technology by JackTerrance
0 votes
    Which of the following enables production-ready features to the spring boot application? 1. Endpoint 2. Actuators 3. Boot 4. None of the above...
asked Jul 25, 2021 in Technology by JackTerrance
0 votes
    How can we override the default properties of Spring boot projects?...
asked Jul 23, 2021 in Technology by JackTerrance
0 votes
    What is the role of actuator in spring boot?...
asked Jul 23, 2021 in Technology by JackTerrance
0 votes
    Explain about the spring cloud and spring boot?...
asked Jul 23, 2021 in Technology by JackTerrance
0 votes
    How to override or replace the Embedded tomcat server in Spring Boot?...
asked Jul 7, 2021 in Technology by JackTerrance
0 votes
    What is the default port of tomcat in spring boot?...
asked Jul 7, 2021 in Technology by JackTerrance
...