Re: Fire off asynch task in Tomcat.

2010-07-21 Thread Padam J Singh
Eric, You can use a simple Consumer/Producer pattern here. See the java.util.Queue classes. What I have done in a similar situation is create a single Queue, multiple consumer threads all blocking on the same queue. A user action puts something in the queue, and one of the thread comes out of

Stateless actions for web application

2010-05-01 Thread Padam J Singh
Hello, I have a web application that is installed on two servers, each hosting a tomcat server with the following version details: Server version: Apache Tomcat/5.5.20 Server built: Sep 12 2006 10:09:20 Server number: 5.5.20.0 OS Name:Linux OS Version: 2.6.18-92.el5 Architecture