Computer Science, asked by sdsdsd1276, 1 year ago

Diff between normal singleton and spring singleton

Answers

Answered by saloni3115
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