threadsafe « Bean « JSP-Servlet Q&A





1. Does bean used by a jsp need to be threadsafe?    coderanch.com

Originally posted by Stefan Elfvinge: If a jsp uses a bean with session-scope, does that mean that the bean only can be referenced from this session or does it mean that every thread requesting the jsp has access to the SAME bean? The main question is: does the bean need to be threadsafe, or does the container instansiate new beans for ...