Tag: spring


Spring : creating unique beans per thread

In stand-alone non-web Java applications, using Spring, the most commonly used bean scopes are singleton and prototype. If a bean scope is set to singleton (and by default bean scope is always singleton), the Spring container creates exactly one instan...