tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Burton <bur...@rojo.com>
Subject Re: looking for insight on invoking Thread.sleep() from a tomcat servlet
Date Mon, 30 May 2005 04:21:13 GMT
Clark O'Brien wrote:

>Can someone provide insight on the adverse affects of
>invoking sleep() from a servlet. I understand that the
>J2EE explicitly forbids invoking sleep from within a
>servlet and it is not hard to figure out this could
>cause problems given that a single tomcat thread may 
>service multiple requests. But I still see
>applications that break this rule so I would like to
>hear ideas on this.
>  
>
I haven't noticed any problem here.  Our in house JDBC conn  pool used 
thread.sleep as well as a lot of other code.

Kevin

-- 


Use Rojo (RSS/Atom aggregator)! - visit http://rojo.com. 
See irc.freenode.net #rojo if you want to chat.

Rojo is Hiring! - http://www.rojonetworks.com/JobsAtRojo.html

   Kevin A. Burton, Location - San Francisco, CA
      AIM/YIM - sfburtonator,  Web - http://peerfear.org/
GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message