Re: multithreading and filters

Minos Chadgidakis <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <[email protected]>
sessionManager has no instance variables.
Any validating function will need only a session object,and perhaps some other arguments.

So there is no need for multithreading consideration?
Then i must assume that the following statements are true.Please correct me...
Each time a validating function is invoked, what is really invoked is a copy of that function.The arguments do not conflict with each other.
The only case that a copy will not be created, is when the function is declared static.
There is no need to make these functions static or use synchronized.

Well i ll do some experimenting and maybe post my results.
Thank you

___________________________________________________________________________
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.