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 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 There!
 NetWorld+Interop Las Vegas 2003 -- Register today!
 http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-development
 
 


---
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


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
www.javagroups.com
(408) 316-4459


---
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


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

2003-03-29 Thread Scott M Stark
The thread pool needs to be a true mbean service with stats and its configuration
exposed via JMX, not just a class. The JCA api and associated component David
mentioned should be a good start for such a service.


Scott Stark
Chief Technology Officer
JBoss Group, LLC


- 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-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
 www.javagroups.com
 (408) 316-4459



---
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


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

2003-03-29 Thread David Jencks
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
 configuration
 exposed via JMX, not just a class. The JCA api and associated component
 David
 mentioned should be a good start for such a service.
 
 
 Scott Stark
 Chief Technology Officer
 JBoss Group, LLC
 
 
 - 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-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
  www.javagroups.com
  (408) 316-4459
 
 
 
 ---
 This SF.net email is sponsored by:
 The Definitive IT and Networking Event. Be There!
 NetWorld+Interop Las Vegas 2003 -- Register today!
 http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-development
 
 


---
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


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

2003-03-29 Thread Bill Burke
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

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of David
 Jencks
 Sent: Saturday, March 29, 2003 12: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
  configuration
  exposed via JMX, not just a class. The JCA api and associated component
  David
  mentioned should be a good start for such a service.
 
  
  Scott Stark
  Chief Technology Officer
  JBoss Group, LLC
  
 
  - 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-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
   www.javagroups.com
   (408) 316-4459
 
 
 
  ---
  This SF.net email is sponsored by:
  The Definitive IT and Networking Event. Be There!
  NetWorld+Interop Las Vegas 2003 -- Register today!
  http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
  ___
  Jboss-development mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-development
 
 


 ---
 This SF.net email is sponsored by:
 The Definitive IT and Networking Event. Be There!
 NetWorld+Interop Las Vegas 2003 -- Register today!
 http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-development



---
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


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

2003-03-29 Thread Scott M Stark
And that is contrary to the generic services architecture we want. First
demonstrate the generic service does not work before coding a one-off.


Scott Stark
Chief Technology Officer
JBoss Group, LLC


- Original Message - 
From: Bill Burke [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



---
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development