Spring Boot Questions
View All LanguagesWhy Spring Boot over Spring Framework?
Open to read the full question, answer, code and follow-ups.
Features of Spring Boot.
Open to read the full question, answer, code and follow-ups.
Explain @SpringBootApplication.
Open to read the full question, answer, code and follow-ups.
Explain Spring Boot startup flow.
Open to read the full question, answer, code and follow-ups.
What is SpringApplication.run()?
Open to read the full question, answer, code and follow-ups.
Explain embedded Tomcat.
Open to read the full question, answer, code and follow-ups.
What are Spring Boot Starters?
Open to read the full question, answer, code and follow-ups.
How does Spring Boot reduce boilerplate?
Open to read the full question, answer, code and follow-ups.
Explain Spring Boot project structure.
Open to read the full question, answer, code and follow-ups.
What is Dependency Injection?
Open to read the full question, answer, code and follow-ups.
Constructor vs Setter vs Field Injection.
Open to read the full question, answer, code and follow-ups.
Why is Constructor Injection recommended?
Open to read the full question, answer, code and follow-ups.
What is ApplicationContext?
Open to read the full question, answer, code and follow-ups.
Explain Bean Lifecycle.
Open to read the full question, answer, code and follow-ups.
Difference between @Component, @Service and @Repository.
Open to read the full question, answer, code and follow-ups.
Difference between @Primary and @Qualifier.
Open to read the full question, answer, code and follow-ups.
How does Component Scanning work?
Open to read the full question, answer, code and follow-ups.
What is Auto Configuration?
Open to read the full question, answer, code and follow-ups.
How does @EnableAutoConfiguration work?
Open to read the full question, answer, code and follow-ups.
What are Conditional Annotations?
Open to read the full question, answer, code and follow-ups.
Explain @ConditionalOnClass.
Open to read the full question, answer, code and follow-ups.
Explain @ConditionalOnMissingBean.
Open to read the full question, answer, code and follow-ups.
How is DataSource created automatically?
Open to read the full question, answer, code and follow-ups.
How does AutoConfiguration.imports work?
Open to read the full question, answer, code and follow-ups.
How do you disable Auto Configuration?
Open to read the full question, answer, code and follow-ups.
What happens when spring-boot-starter-data-jpa is added?
Open to read the full question, answer, code and follow-ups.
Explain REST API request flow.
Open to read the full question, answer, code and follow-ups.