Minos Chadgidakis <[EMAIL PROTECTED]> writes:

>
> Do i have to consider about multithreading?

yes.


> Is there a possibility that while istimedOut is checking session1,
> another call to the same function (but on session2) could affect in
> any way the first call?

Yes. But do the methods have side effects? that is does the session
manager have shared state that will be adversley affected by multiple
validations occuring?


> Do i have to make all validating functions synchronized?

No. Not unless they are accessing some shared resource.


> If i make all these functions static (tempting!), won't there be
> conflicts?

What do you mean conflicts?




Nic

___________________________________________________________________________
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

Reply via email to