-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
CBy,
On 3/8/2010 7:03 AM, CBy wrote:
My web service wraps a command-line application that is rather resource
demanding. To manage the maximum number of instances that can run
concurrently, it uses a (custom) thread pool.
Are you on Java 1.5+?
Thanks for your help, Chris.
With you could create a service you mean a process not managed by
Tomcat? The class loader route seems less flexible but easier. I think
I'll try that first.
I am still curious though on when and how to use Tomcat's Executor. I
someone could provide me with a
From: CBy [mailto:tom...@byrman.demon.nl]
Subject: Re: [OT] Question on Executor (thread pool)
I am still curious though on when and how to use Tomcat's Executor. I
someone could provide me with a nice example, I would be most grateful.
Tomcat's thread pools used to be on a connector basis
On 8-3-2010 17:07, Caldarale, Charles R wrote:
From: CBy [mailto:tom...@byrman.demon.nl]
Subject: Re: [OT] Question on Executor (thread pool)
I am still curious though on when and how to use Tomcat's Executor. I
someone could provide me with a nice example, I would be most grateful
From: CBy [mailto:tom...@byrman.demon.nl]
Subject: Re: [OT] Question on Executor (thread pool)
I thought it was pretty common to share precious resources across web
apps. Isn't database connection pooling often implemented this way?
Not in my experience - you want to keep things as separate