Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Threads of Servlet in WAS

Status
Not open for further replies.

laertes

Programmer
Apr 24, 2001
2
ES
Hello! my cuestion is about the threads that Servlet creates to handle the requests.
How can I destroy these threads or WAS is handled to do it? I don´t know well this sublect.
Very Thanks.
Laertes
 
The Servlet class itself should not be creating threads. The Web Container will create a thread for each request that will utilize the Servlet. So to make the answer short, you do not have to worry about closing or destroying threads. You do have to worry about making your Servlet thread-safe though.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top