[ACCEPTED]-How do I force a spring container not to return a singleton instance of a bean?-spring
You need to tell spring that you want a 2 prototype bean rather than a singleton bean
<bean id="beanA" class="misc.BeanClass" scope="prototype"/>
This 1 will get you a new instance with each request.
The default scope is singleton, but you can set 2 it to prototype, request, session, or global 1 session.
More Related questions