Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

what is SingleThreadModel?  RSS feed

 
jacob deiter
Ranch Hand
Posts: 587
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is SingleThreadModel?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SingleThreadModel was an attempt at making it easier to to write thread safe servlets. The idea didn't really work out and the interface is now deprecated. It is worth understanding but only for maintaining older applications that employ it.

If you're interested in learning more about it, there is a link to the servlet spec in my signature. A quick search on that document for SingleThreadModel will bring you right to the relevant section.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!