Re: Support for callbacks

2006-07-13 Thread Oisin Hurley
Yes I was counting on the binding (e.g. Celtix, Axis) to provide RM capabilities. However, we also need to manage stateful callbacks... We will need to spec the RM requirements with a magical policy or have some kind of constraint to validate the presence of the feature (spec issue I guess

Re: Support for callbacks

2006-07-13 Thread Ignacio Silva-Lepe
- Original Message - From: Jim Marino [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Thursday, July 13, 2006 7:34 AM Subject: Re: Support for callbacks On Jul 13, 2006, at 12:13 AM, Oisin Hurley wrote: Yes I was counting on the binding (e.g. Celtix, Axis) to provide RM

Re: Support for callbacks

2006-07-12 Thread Jim Marino
Hey Oisin, Comments inline On Jul 12, 2006, at 4:15 PM, Oisin Hurley wrote: Hi Jim, I think we need to account for long-running conversations and server crashes. I was thinking this would involve persisting the instance and dealing with state (we made it serializable in the spec to

Re: Support for callbacks

2006-07-10 Thread Jim Marino
Hi guys, I won't be able to make IRC today but please feel free to go ahead and discuss conversations. I've looked at Igancio's slides (thanks, these are really extensive!) and I think adding the callback wire to the reference is a good way to start with and see where we get. I'll

Re: Support for callbacks

2006-07-10 Thread Jeremy Boynes
On Jul 10, 2006, at 7:19 AM, Jim Marino wrote: 2. We need to get the host API supporting callbacks. The reference would use the host API to register itself as a listener with a binding as opposed to talking directly with the binding. This will allow us to decouple the callback

Re: Support for callbacks

2006-07-10 Thread Jim Marino
On Jul 10, 2006, at 7:40 AM, Jeremy Boynes wrote: On Jul 10, 2006, at 7:19 AM, Jim Marino wrote: 2. We need to get the host API supporting callbacks. The reference would use the host API to register itself as a listener with a binding as opposed to talking directly with the binding. This

Re: Support for callbacks

2006-07-10 Thread Ignacio Silva-Lepe
Hi Jim, An inline comment on your first point. - Original Message - From: Jim Marino [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Monday, July 10, 2006 10:19 AM Subject: Re: Support for callbacks Hi guys, I won't be able to make IRC today but please feel free to go ahead

Re: Support for callbacks

2006-07-10 Thread Jim Marino
Comments inline On Jul 10, 2006, at 1:39 PM, Ignacio Silva-Lepe wrote: Hi Jim, An inline comment on your first point. - Original Message - From: Jim Marino [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Monday, July 10, 2006 10:19 AM Subject: Re: Support for callbacks Hi

Re: Support for callbacks

2006-07-08 Thread Jim Marino
had a discussion with Jeremy on this as well. Hopefully I should have something done by the weekend. M -Original Message- From: Jim Marino [mailto:[EMAIL PROTECTED] Sent: 07 July 2006 18:09 To: tuscany-dev@ws.apache.org Subject: Re: Support for callbacks Certainly. Feel free to jump

Re: Support for callbacks

2006-07-08 Thread Jim Marino
: Ignacio Silva-Lepe [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Friday, July 07, 2006 4:37 PM Subject: Re: Support for callbacks I am attaching a few slides that illustrate architectural scenarios for local and remote callbacks (did not see a simple way to add them to the wiki

RE: Support for callbacks

2006-07-07 Thread Meeraj Kunnumpurath
July 2006 16:39 To: tuscany-dev@ws.apache.org Subject: RE: Support for callbacks I have got an implementation based on Doug Lea's concurrent utilities (JDK 1.4), I think this can be ported to use Java 5 concurrent libraries. If you don't mind, I can start looking at this. -Original Message

RE: Support for callbacks

2006-07-07 Thread Meeraj Kunnumpurath
Ok, Jeremy. Ta -Original Message- From: Jeremy Boynes [mailto:[EMAIL PROTECTED] Sent: 07 July 2006 14:33 To: tuscany-dev@ws.apache.org Subject: Re: Support for callbacks On Jul 7, 2006, at 2:45 AM, Meeraj Kunnumpurath wrote: Jim, Are you ok for me to start looking at the work

Re: Support for callbacks

2006-07-07 Thread Ignacio Silva-Lepe
. - Original Message - From: Jeremy Boynes [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Friday, July 07, 2006 9:32 AM Subject: Re: Support for callbacks On Jul 7, 2006, at 2:45 AM, Meeraj Kunnumpurath wrote: Jim, Are you ok for me to start looking at the work manager implementation

RE: Support for callbacks

2006-07-07 Thread Meeraj Kunnumpurath
. - Original Message - From: Jeremy Boynes [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Friday, July 07, 2006 9:32 AM Subject: Re: Support for callbacks On Jul 7, 2006, at 2:45 AM, Meeraj Kunnumpurath wrote: Jim, Are you ok for me to start looking at the work manager implementation

Re: Support for callbacks

2006-07-07 Thread Jeremy Boynes
On Jul 7, 2006, at 6:56 AM, Ignacio Silva-Lepe wrote: I too think that having a work manager implementation that minimizes dependencies (e.g., Geronimo's) is a useful thing to have. Wrt using a work manager in the support for callbacks, we should just make sure that we are ok with the

Re: Support for callbacks

2006-07-07 Thread Jeremy Boynes
On Jul 7, 2006, at 7:13 AM, Meeraj Kunnumpurath wrote: Also, we may find other use cases for using a work manager for deferred executions. Do we have any view on how the runtime can use a work manager from a managed environment when Tuscany is run in a managed environment. I think app

Re: Support for callbacks

2006-07-07 Thread Jeremy Boynes
On Jul 7, 2006, at 7:37 AM, Meeraj Kunnumpurath wrote: Jeremy, Should this go into sca/core. Also, have you got any suggestions on what package this should go in? I would suggest putting the API in o.a.t.spi.services.work and the impl in o.a.t.core.services.work Work for you? --

RE: Support for callbacks

2006-07-07 Thread Meeraj Kunnumpurath
ok -Original Message- From: Jeremy Boynes [mailto:[EMAIL PROTECTED] Sent: 07 July 2006 15:46 To: tuscany-dev@ws.apache.org Subject: Re: Support for callbacks On Jul 7, 2006, at 7:37 AM, Meeraj Kunnumpurath wrote: Jeremy, Should this go into sca/core. Also, have you got any

RE: Support for callbacks

2006-07-07 Thread Meeraj Kunnumpurath
Meeraj -Original Message- From: Jeremy Boynes [mailto:[EMAIL PROTECTED] Sent: 07 July 2006 15:41 To: tuscany-dev@ws.apache.org Subject: Re: Support for callbacks On Jul 7, 2006, at 7:13 AM, Meeraj Kunnumpurath wrote: Also, we may find other use cases for using a work manager

Re: Support for callbacks

2006-07-07 Thread Jeremy Boynes
On Jul 7, 2006, at 9:04 AM, Meeraj Kunnumpurath wrote: Jeremy, Ok, having a brief look at the JCA work manager API, these are my thoughts 1. The high-level API are very similar, a manager and optional support for listeners for callbacks 2. There are subtle differences between the actual

RE: Support for callbacks

2006-07-07 Thread Meeraj Kunnumpurath
That sounds ok. -Original Message- From: Jeremy Boynes [mailto:[EMAIL PROTECTED] Sent: 07 July 2006 17:27 To: tuscany-dev@ws.apache.org Subject: Re: Support for callbacks On Jul 7, 2006, at 9:04 AM, Meeraj Kunnumpurath wrote: Jeremy, Ok, having a brief look at the JCA work

Re: Support for callbacks

2006-07-07 Thread Jim Marino
the requirements of callbacks, I can try to give some input on that as well. Ta Meeraj -Original Message- From: Meeraj Kunnumpurath [mailto:[EMAIL PROTECTED] Sent: 06 July 2006 16:39 To: tuscany-dev@ws.apache.org Subject: RE: Support for callbacks I have got an implementation based on Doug

RE: Support for callbacks

2006-07-07 Thread Meeraj Kunnumpurath
Thanks Jim. I have had a discussion with Jeremy on this as well. Hopefully I should have something done by the weekend. M -Original Message- From: Jim Marino [mailto:[EMAIL PROTECTED] Sent: 07 July 2006 18:09 To: tuscany-dev@ws.apache.org Subject: Re: Support for callbacks Certainly

Re: Support for callbacks

2006-07-06 Thread Jim Marino
Hi Ignacio, Sorry about the delay...Comments inline. I've also added some scenarios to the wiki so feel free to add your thoughts to them. Jim On Jul 5, 2006, at 2:07 PM, Ignacio Silva-Lepe wrote: Hi Jim, Sorry about the disconnect, I was out Monday and yesterday. I'll be sure to

RE: Support for callbacks

2006-07-06 Thread Meeraj Kunnumpurath
To: tuscany-dev@ws.apache.org Subject: Re: Support for callbacks On Jul 6, 2006, at 8:04 AM, Meeraj Kunnumpurath wrote: Good point. I think a similar mechanism may be o.k. as long as we clean up properly when the request ends or the thread is reclaimed (e.g. in case of failure where the callback

Re: Support for callbacks

2006-07-05 Thread Ignacio Silva-Lepe
Hi Jim, Sorry about the disconnect, I was out Monday and yesterday. I'll be sure to attend the IRC chat tomorrow. In the meantime, some more quick comments. - Original Message - snip/ If I understand correctly, would a system service transport use a low level communication

Re: Support for callbacks

2006-07-03 Thread Jim Marino
I've started to add some rough scenarios to the wiki on this at: http://wiki.apache.org/ws/Tuscany/TuscanyJava/Scenarios/ ConversationalSupport/ Hopefully we can fill them out with more detail such as interaction diagrams, etc. I'm generally pretty loose on scenario formats: basically

Re: Support for callbacks

2006-07-01 Thread Jim Marino
Hi Ignacio, Let's try IRC, perhaps Monday's chat? Other comments inline... On Jun 30, 2006, at 1:30 PM, Ignacio Silva-Lepe wrote: Apologies Jeremy, didn't mean to exclude people, just trying to expedite the discussion. The first basic issue I see is how to incorporate callbacks as defined

Re: Support for callbacks

2006-06-30 Thread Jim Marino
On Jun 29, 2006, at 1:47 PM, Ignacio Silva-Lepe wrote: - Original Message - From: Jim Marino [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Thursday, June 29, 2006 12:18 PM Subject: Re: Support for callbacks On Jun 28, 2006, at 7:13 AM, Ignacio Silva-Lepe wrote: I'd

Re: Support for callbacks

2006-06-30 Thread Ignacio Silva-Lepe
Jim, Perhaps we could discuss this via a more immediate medium. How about IRC or phone? I am online today until 5pm EDT. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Support for callbacks

2006-06-30 Thread Jeremy Boynes
On 6/30/06, Ignacio Silva-Lepe [EMAIL PROTECTED] wrote: Jim, Perhaps we could discuss this via a more immediate medium. How about IRC or phone? I am online today until 5pm EDT. Ignacio, I've been following this thread with interest but won't be able to get on IRC any time soon. Please could

Re: Support for callbacks

2006-06-30 Thread Ignacio Silva-Lepe
Apologies Jeremy, didn't mean to exclude people, just trying to expedite the discussion. The first basic issue I see is how to incorporate callbacks as defined in the CI spec in particular, and bi-directional interfaces in general, into the Tuscany architecture. Depending on how closely a

Re: Support for callbacks

2006-06-29 Thread Jim Marino
On Jun 28, 2006, at 7:13 AM, Ignacio Silva-Lepe wrote: I'd like to start working on providing support for callbacks, assuming the sandbox is a good place to do this. Great. In case you haven't seen it, we have some architecture slides in the sandbox under jboynes/sca/doc in

Re: Support for callbacks

2006-06-29 Thread Ignacio Silva-Lepe
- Original Message - From: Jim Marino [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Thursday, June 29, 2006 12:18 PM Subject: Re: Support for callbacks On Jun 28, 2006, at 7:13 AM, Ignacio Silva-Lepe wrote: I'd like to start working on providing support for callbacks