On 1/14/11 3:48 PM, alexis wrote:
> Hi, im recently suscribed to the list and my apologies if this topic has been 
> treated before, if so, please point me to those threads :)
> 
> I have an application running as daemon, this application handles n queue 
> managers (one per thread) reading those queues from a database. once an item 
> is queued (from a webapp) the queue processor starts a thread, process the 
> command and returns the response.
> 
> What i would like to do is to do the same but all together on my webapp, 
> meaning with this, as soon tomcat is started and my webapp deployed, start n 
> threads as daemons waiting for commands. is this possible?

Implement a ServletContextListener and add your code for creating a
thread pool to it.


p


> thanks in advance
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 

Attachment: 0x62590808.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to