• Post Reply Bookmark Topic Watch Topic
  • New Topic

spawning threads in jsp pages  RSS feed

 
doug parker
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am reviewing a model 1 architecture and it has a few 'beans' spawning threads in scriptlets. these threads basically execute a query and set its properties. I can't think of a good reason to use threading in this case and have a hunch that it is against the servlet/jsp spec as well as potentially leading to web container issues. what do you think?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The thought makes my joints ache.
 
doug parker
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
me too & i am the one who has to fix it.
 
Sonny Gill
Ranch Hand
Posts: 1211
IntelliJ IDE Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A similar issue is being discussed in the servlets forum -
http://www.coderanch.com/t/359270/Servlets/java/Handling-Uploaded-Files
and there are a few links to helpful articles.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!