> 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 wa
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 gra
> 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
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 n
-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+?