When you create a Service bean or Dao bean in your Spring applicationContext.xml file, what is the scope of those beans?
Will every person who accesses the web application use the same instance of the bean, or is the bean instantiated for each user's session?
Performance impact of using aop
Spring context.xml and Set.contains()
How to use CurrentSessionContext/SpringSessionContext along with HibernateDaoSupport to intercept calls to getCurrentSession()
The alternative is to specify the scope as prototype..
How do I force a spring container not to return a singleton instance of a bean?
More info on this here, sections 3.4.1 and 3.4.2:.
Custom spring scopes?
How can I determine what roles are required to access a URL with Spring Security?
Pointcut not working with Spring AOP