Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 45136 invoked from network); 28 Jun 2005 18:37:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Jun 2005 18:37:02 -0000 Received: (qmail 71497 invoked by uid 500); 28 Jun 2005 18:36:56 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 71464 invoked by uid 500); 28 Jun 2005 18:36:56 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 71447 invoked by uid 99); 28 Jun 2005 18:36:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jun 2005 11:36:55 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [57.80.136.26] (HELO becxoex17.corp.kpmgconsulting.com) (57.80.136.26) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jun 2005 11:36:54 -0700 Received: from kccxoex05.corp.kpmgconsulting.com ([10.98.3.74]) by becxoex17.corp.kpmgconsulting.com with InterScan Messaging Security Suite; Tue, 28 Jun 2005 18:37:21 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Geronimo and JSR-237 WorkManager API for App Servers Date: Tue, 28 Jun 2005 19:37:21 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Geronimo and JSR-237 WorkManager API for App Servers Thread-Index: AcV3asEc4iZOX3uwRqSunpdBYLFXygEodgXA From: "Tyagi, Rahul" To: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N David, My thoughts are inline..... >Well, I think implementing this would be great. I'd like to know: >- whether WorkManager could use our thread pool gbean or if we should =0D >replace uses of the thread pool gbean with WorkManager or some other =0D >relationship >- whether the J2CA WorkManager should use the jsr-23 WorkManager or =0D >vice versa or neither I think we have to wrap work manager as gbean and we can/should implement= WorkManager without using any other gbean. WorkManager would be available= in JNDI tree and app may refer workmanager in its config descriptor(i.e.= resource-ref tag). WorkManager may internally use Doug's concurrent API,= Or We can start using java.util.concurrent package or backport of= concurrent API to jdk 1.4, We can have separate discussion to decide which= API we should use. >Our transaction manager is rather aggressively single threaded, so =0D >currently any jsr-237 implementation is going to have to not propagate =0D >transactions between threads. We need to look at the advanced =0D >transaction services spec (activity service?) to see what they have to =0D >say about this also. I'd be delighted to talk more about this =0D >issue.... next week ;-) As you know JSR-237 do not state anything about work being transaction= aware, To start with we can use existing transaction manager. I think we= need detail discussion about transaction management within Geronimo i.e.= distributed transaction. Let me know your thoughts!! Thanks, Rahul -----Original Message----- From: David Jencks [mailto:david_jencks@yahoo.com] Sent: Wednesday, June 22, 2005 3:41 PM To: dev@geronimo.apache.org Subject: Re: Geronimo and JSR-237 WorkManager API for App Servers Well, I think implementing this would be great. I'd like to know: - whether WorkManager could use our thread pool gbean or if we should =0D replace uses of the thread pool gbean with WorkManager or some other =0D relationship - whether the J2CA WorkManager should use the jsr-23 WorkManager or =0D vice versa or neither Our transaction manager is rather aggressively single threaded, so =0D currently any jsr-237 implementation is going to have to not propagate =0D transactions between threads. We need to look at the advanced =0D transaction services spec (activity service?) to see what they have to =0D say about this also. I'd be delighted to talk more about this =0D issue.... next week ;-) thanks david jencks On Jun 22, 2005, at 1:27 PM, Tyagi, Rahul wrote: > > You can assume WorkManager to be a container managed thread pool. =0D > Using WorkManager one can schedule work workManager.schedule(Work =0D > work) and schedule would get a thread from container managed thread =0D > pool and process the work (Work implements java.lang.Runnable). It has =0D > capability to add dependency of work completion on other work. Work =0D > has life cycle and user can define listener for listening to those =0D > work life cycle events. > >>>>> David Jencks Wrote > >> I saw only a very early draft of this JSR, which IMO had the fatal >> defect of not explaining the semantics of transactions when using the >> thread pool. Has the current version of the spec added any discussion >> of transactions? > > So far this specification do not state anything for managing =0D > transaction. But i think we need to enhance that part. I personally =0D > believe in both approach standardize first then implement Or =0D > Innovate/implement first and then standardize, In our case we need to =0D > follow later :)... > > To avoid security message probably i would start using my personal =0D > email ID for this email list. > > Thanks, > > Rahul > > > -----Original Message----- > From: Aaron Mulder [mailto:ammulder@alumni.princeton.edu] > Sent: Wednesday, June 22, 2005 3:40 PM > To: dev@geronimo.apache.org > Subject: Re: Geronimo and JSR-237 WorkManager API for App Servers > > > On Wed, 22 Jun 2005, Tyagi, Rahul wrote: >> ... >> I think JSR-237 is a major step in writing scalable parallel =0D >> processing >> application within managed environment. > > Can you give us some more detail on what JSR-237 requires from the app > server? > > Also, the footer block below needs to go! :) > > Thanks, > Aaron > > ***********************************************************************=0D > **************************** > The information in this email is confidential and may be legally =0D > privileged. Access to this email by anyone other than the intended =0D > addressee is unauthorized. If you are not the intended recipient of =0D > this message, any review, disclosure, copying, distribution, =0D > retention, or any action taken or omitted to be taken in reliance on =0D > it is prohibited and may be unlawful. If you are not the intended =0D > recipient, please reply to or forward a copy of this message to the =0D > sender and delete the message, any attachments, and any copies thereof =0D > from your system. > ***********************************************************************=0D > **************************** > ***************************************************************************= ************************ The information in this email is confidential and may be legally= privileged. Access to this email by anyone other than the intended= addressee is unauthorized. If you are not the intended recipient of this= message, any review, disclosure, copying, distribution, retention, or any= action taken or omitted to be taken in reliance on it is prohibited and= may be unlawful. If you are not the intended recipient, please reply to= or forward a copy of this message to the sender and delete the message,= any attachments, and any copies thereof from your system. ***************************************************************************= ************************