Thursday, November 29, 2012

Spring bean threadsafety

Recently working on multi-thread safety issues, and read a interesting article regarding spring bean and thread safe. http://tarunsapra.wordpress.com/2011/08/21/spring-singleton-request-session-beans-and-thread-safety/ Please be aware one more thing, spring singleton is not a true singleton, is one instance per application context. So it is possible there are multiple instances inside JVM.

No comments:

Post a Comment