Hi,
Recently I am working on a
Tomcat application. This application basically a generic
java classes which have nothing to do with
jsp and
servlets. It is the jsp pages and servlets to call these java classes.
Now, as we understand that there might be multiple calls to these classes at the same time from java pages. Do we have
thread issue here? Do I need to synchronize the calls to the shared fields? I know there are problems with multiple calls unless Tomcat know how to seperate the seessions.
Even though Tomcat load the classes based on the session, how do I implement singleton across sessions?
Thanks a lot.
Bujin