On Tue, 3 Jun 2003 20:23, Adam Lipscombe wrote:
> Jason,
>
> Thanks for the input...
>
> I am worried about what happens to the rest of Tomcat if one thread
> blocks for (potentially) a long time while a user is playing an external
> game. Will this have an adverse affect?

What do you mean by an 'external game'? You can't (as far as I am aware) do 
something like use runtime.exec to run something like a chess game on the 
server and then let the user play it as if it were on their own PC. 

You could launch a chess engine that took commands through sysin and gave 
results back in sysout, then interface that within a JSP page somehow 
however. There are precautions you can take to make Runtime.exec() thread 
safe and there are quite a few tutorials and example code on this on the web 
you might want to check out as well.

Regards,
-- 
Jason Bainbridge
KDE Web Team - http://kde.org 
[EMAIL PROTECTED] 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to