Spring / Spring Beans
Is Spring Bean with singleton scope thread safe?
The default scope of Spring bean is singleton, which means that there be only one instance per context. Having a bean class level variable that any thread can update will lead to inconsistent data. Hence in default mode spring beans are not thread-safe.
More Related questions...