[JBoss-dev] Generic ThreadPool in JBoss?

2003-03-29 Thread Thomas Peuss
Hello! I need a thread pool to simplify my code for the HTTP-loadbalancer. Is there a generic ThreadPool in JBoss-code (HEAD)? Any hints welcome CU Thomas --- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be

Re: [JBoss-dev] Generic ThreadPool in JBoss?

2003-03-29 Thread David Jencks
There is the jca 1.5 thread pool, BaseWorkManager. It is a simple implementation of the j2ee 1.4 official thread pool. If this provides more than you want to deal with, lets discuss design. david jencks On 2003.03.29 09:04 Thomas Peuss wrote: Hello! I need a thread pool to simplify my code

Re: [JBoss-dev] Generic ThreadPool in JBoss?

2003-03-29 Thread Bela Ban
Thomas Peuss wrote: Hello! I need a thread pool to simplify my code for the HTTP-loadbalancer. Is there a generic ThreadPool in JBoss-code (HEAD)? I'd go for the concurrent.util (Doug Lea's stuff) thread pool (called PooledExecutor). It will be part of JDK 1.5 (Tiger). -- Bela Ban

Re: [JBoss-dev] Generic ThreadPool in JBoss?

2003-03-29 Thread Scott M Stark
- Original Message - From: Bela Ban [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, March 29, 2003 7:59 AM Subject: Re: [JBoss-dev] Generic ThreadPool in JBoss? Thomas Peuss wrote: Hello! I need a thread pool to simplify my code for the HTTP

Re: [JBoss-dev] Generic ThreadPool in JBoss?

2003-03-29 Thread David Jencks
: Re: [JBoss-dev] Generic ThreadPool in JBoss? Thomas Peuss wrote: Hello! I need a thread pool to simplify my code for the HTTP-loadbalancer. Is there a generic ThreadPool in JBoss-code (HEAD)? I'd go for the concurrent.util (Doug Lea's stuff) thread pool (called

RE: [JBoss-dev] Generic ThreadPool in JBoss?

2003-03-29 Thread Bill Burke
:44 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-dev] Generic ThreadPool in JBoss? Also, the jca mbean I wrote uses Doug Lea's implementation for the actual pool. david On 2003.03.29 11:59 Scott M Stark wrote: The thread pool needs to be a true mbean service with stats and its

Re: [JBoss-dev] Generic ThreadPool in JBoss?

2003-03-29 Thread Scott M Stark
[EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, March 29, 2003 9:52 AM Subject: RE: [JBoss-dev] Generic ThreadPool in JBoss? I say write your own pool. You can usually optimize it more closely than a generic service. Well, that's my experience from writing the PooledInvoker. Bill