By arpitmandliya
via javapostsforlearning.blogspot.in
Published: Feb 05 2013 / 12:17
In Spring, bean scope is used to decide which type of bean instance should be return from Spring container back to the caller.There are 5 types of bean scopes supported in spring-Singleton,Prototype,Request,Session and globalSession.In many cases,spring's core scopes i.e.singleton and prototype are used.By default scope of beans is singleton.Here we will see singleton and prototype scopes in more details.
Add your comment