RE: [OT] Question on Executor (thread pool)

2010-03-08 Thread Caldarale, Charles R
> 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

Re: [OT] Question on Executor (thread pool)

2010-03-08 Thread CBy
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

RE: [OT] Question on Executor (thread pool)

2010-03-08 Thread Caldarale, Charles R
> 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

Re: [OT] Question on Executor (thread pool)

2010-03-08 Thread CBy
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

Re: [OT] Question on Executor (thread pool)

2010-03-08 Thread Christopher Schultz
-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+?