Diff between normal singleton and spring singleton
Answers
Answered by
0
A Spring singleton bean can be any normal class you write, but declaring it's scope as singleton means that Spring will only create one instance and provide its reference to all beans that reference the declared bean. ... You may even have multiple beans of the same class all declared as singleton
Similar questions