Question
I can't find this information anywhere. Can someone explain how spring boot 'decides' what the right scope is? Are the beans all singletons?
Answer
Spring Boot doesn't decide anything about the bean scope, this is plain Spring framework functionality. Default bean scope is singleton scope (meaning, one instance of that bean in the application).