On 1/27/06, Duan, Nick [EMAIL PROTECTED] wrote:
Spawning your own threads in a web app is usually not recommended.
Why?
regards
Leon
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Leon Rosenberg wrote:
On 1/27/06, Duan, Nick [EMAIL PROTECTED] wrote:
Spawning your own threads in a web app is usually not recommended.
Why?
Well, you have to take care of them manually or some code has to do it.
If forgotten, those threads can stop TC from shutting down
Spawning your own threads in a web app is usually not recommended. The
correct way is to create and use a JMS message listener, like in Jakarta
common messenger. http://jakarta.apache.org/commons/sandbox/messenger
I am not sure how easy it is to integrate with Tomcat 5.
ND
-Original