This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes threads in servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "threads in servlets" Watch "threads in servlets" New topic
Author

threads in servlets

sitaram irrinki
Ranch Hand

Joined: Feb 16, 2005
Posts: 158
If server crashes the threads will continue running or will they
stop? what happens to the sevlet?
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

If the server crashes, the VM crashes and everything 'Java' dies. Usually not very gracefully.
Makarand Parab
Ranch Hand

Joined: Dec 10, 2004
Posts: 121
Yes David is right and one more thing is left. U are called back to ur work place to see what has happened
 
jQuery in Action, 2nd edition
 
subject: threads in servlets
 
Similar Threads
Thread Question: Are they all "under" creator?
Thread Help Wanted
For those of you who are certified ......
thread safe for SecureRandom.nextBytes()?
To which of the following can we apply the synchronized keyword