title: Thread safety in web application
body: <p>This question has been over my mind for quite a few days. For a customer based web application where many users are accessing the site, do I need all my back-end java classes to be thread safe? E.g if my web app is being accessed by 100 customers, will each of the request have separate set of java objects allocated to them in jvm? I'm working on a web project where none of the classes are synchronized and I wonder how multiple http requests don't share the same object?</p>