Re: Asynchronous messaging in tomcat

2006-01-29 Thread Leon Rosenberg
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

Re: Asynchronous messaging in tomcat *

2006-01-29 Thread Nikola Milutinovic
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

RE: Asynchronous messaging in tomcat

2006-01-27 Thread Duan, Nick
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