Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Container Managed Thread Pool  RSS feed

 
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!