File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "threads in servlets" Watch "threads in servlets" New topic

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

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
I agree. Here's the link:
subject: threads in servlets
jQuery in Action, 3rd edition