Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Container Managed Thread Pool

 
Shravan Durvasula
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all:

When the execution of the service method of the servlet is done, the thread either dies or goes to the container managed thread pool. On what circumstances does the thread die and on what circumstances does the thread go to the container managed thread pool. Does the programmer have any way of controlling this?

Thanks,
-SkD
 
Gabriel Forro
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I think, that the thread management of the container is vendor specific. In my opinion You should not do any thread management like work. Let the container do the thread management job. It is more effective and safe.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!