Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet Container/Web Server Threads management

 
murali kankanala
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Experts,

Could you please give brief idea how the Web Server is applying threads on Servlet object ( because server is doing to create only one Servlet object if we dont implement SingleThreadModel interface)?

Thank you.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64708
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pretty simple really: each request is executed in its own thread.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic