Spring Bean Scopes
The Primary Spring bean scopes are Singleton and Prototype. In Singleton scope, the spring container instantiates only one instance of a bean per container. In Prototype scope, the container returns a new instance of a bean whenever we ask the container for that bean. Other bean scopes applicable only to web environments are request, session, … Read more