posted 9 years ago
Bean scopes in Spring are singleton, prototype, request, session, globalsession.
Question1 > Difference between each other?
2> when to use which scope?
3> How to decide which scope and when that to use?
4> Difference between singleton and prototype scope?
Please explain with some example.