+1
-----Original Message-----
From: Dain Sundstrom [mailto:[EMAIL PROTECTED]
Sent: Friday, July 09, 2004 1:34 PM
To: [EMAIL PROTECTED]
Subject: Re: Thread pool strategy
On Jul 9, 2004, at 10:32 AM, Aaron Mulder wrote:
> There is an interface for this in 1.5 (based heavily on Doug's,
it
> seems)...
Not surprising considering Doug wrote the stuff in 1.5 :)
> We may want to accomodate that later, even if we use the
> standalone version for now. I guess that suggests that we use our own
> Executor interface that happens to be the same as Doug's, so that if
we
> later switch the underlying mechanics to JDK 1.5 then we can drop the
> dependency on the standalone concurrency library.
The nice thing about GBeans is you can have a proxy to a GBean that
implements an interface that the GBean does not. We simply match up
the method signatures of "proxy interface" with the signatures of the
operations and attributes exposed from the GBean. So in Geronimo code
we can use our own interface (or the one in concurrent) and if users
want to use 1.5 interfaces it will still work.
-dain
-----------------------------------------------------------------
Visit our Internet site at http://www.reuters.com
Get closer to the financial markets with Reuters Messaging - for more
information and to register, visit http://www.reuters.com/messaging
Any views expressed in this message are those of the individual
sender, except where the sender specifically states them to be
the views of Reuters Ltd.