My web application uses Spring IOC. So all my spring beans will be singletons by default. In case if two requests try to access two different methods of a single class (for
You must first understand when concurrency can cause problems. If your Spring bean is stateless (it doesn't have any fields, all fields are final
or all of them are assigned only once), multiple threads can safely use the same bean, or even the same method.