Skip to content

System Design Interactive Flashcards

Practice one question at a time. Submit your answer to see whether it is correct, read a short explanation, and then go to the next question.

Question 1

Score: 0

Loading question...

How does Spring Boot auto configuration work internally like the @ConditionalOnClass and @ConditionalOnMissingBean?
Reveal Answer Spring Boot scan auto configuration classes listed on the auto configurations.import file. Each class activates when the condition matches. Example ConsitionalOnClass in case a dependency is on the class path or @ConditionalOnMissingBean in case the bean is not defined.