| Author |
spawning threads in jsp pages
|
doug parker
Ranch Hand
Joined: Oct 26, 2004
Posts: 30
|
|
|
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
Joined: Jan 10, 2002
Posts: 56521
|
|
|
The thought makes my joints ache.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
doug parker
Ranch Hand
Joined: Oct 26, 2004
Posts: 30
|
|
|
me too & i am the one who has to fix it.
|
 |
Sonny Gill
Ranch Hand
Joined: Feb 02, 2002
Posts: 1211
|
|
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.
|
 |
 |
|
|
subject: spawning threads in jsp pages
|
|
|