Thanks for the replies and clearing this up for me.  While looking at
the APIs, for some reason I started worrying about Ode becoming a bus,
sorry about that.

-cory

On 6/1/06, Assaf Arkin <[EMAIL PROTECTED]> wrote:
On 6/1/06, cory <[EMAIL PROTECTED]> wrote:
> Hi Assaf,
>
> I think I understand what you are saying.  BPEL is for orchestrating
> web services, and it seems natural for a BPEL engine to take on the
> responsibility of managing the MEPs.  So a BPEL engine is a bus?

If I receive a request, do something with it, and then send back a
response, I'm "managing" the MEP lifecycle. I get to decide when the
MEP ends and how to end it.

I think managing that part of the MEP lifecycle is the responsibility
of engines deployed on the bus, but is not itself a bus. A bus moves
messages from one place to another, it allows you to deploy multiple
engines.

When you get to deploying engines, connectors, transports, etc you
have a bus. If you just get to do very basic MEP lifecycle management,
you can pick and choose a lot of different buses, since all you're
asking them is to move messages around.

> What I'm trying to get at is a question to everyone: Will Ode be a
> bus?  My assumption so far, which could be wrong, is that Ode is not
> going to be a bus and would be pretty helpless stand alone.

The requirements as far as I understand them:
* We don't want to develop yet another bus, that's too much wasted effort.
* We don't want to pick one bus, there's tradeoffs and it's easier if
we let users pick and choose.
* An engine is a barrier to entry, you need something you can download
and run standalone with some bus before you can decide if you want to
change buses.

So it sounds like what we want is an API so we can build quick and
simple adapters to different buses, and include one in the standalone
download.

Assaf

>
> -cory
>
> On 5/31/06, Assaf Arkin <[EMAIL PROTECTED]> wrote:
> > A good bus is stateless and stupid, it just moves messages in and out.
> >
> > Since we already have persistence in the BPEL engine, we should use
> > that instead of pushing it to the bus. There's an advantage to storing
> > messages and MEPs in one place and only once.
> >
> > Having said that, I don't consider all possible MEP combinations to be
> > interesting just because they can be done.
> >
> > JMS for reliable messaging (transactions, persistence) is best done as
> > two separate one-way operations.
> >
> > There are some cases where JMS -- more specifically, some MOMs and
> > backend combinations -- are used for synchronous operations because
> > the MOM is used as the message bus and protocol abstraction.
> >
> > But these operations are synchronous, they don't occur in separate
> > transactions (in fact, they don't use transactions are all), messages
> > are not persisted, they only wait for the response so long and they
> > fail like all other synchronous operations.
> >
> > Some practical restrictions are good in keeping to reasonable complexity.
> >
> > Assaf
> >
> >
> > On 5/31/06, cory <[EMAIL PROTECTED]> wrote:
> > > Hello All,
> > >
> > > See my comments below.
> > >
> > > Cheers,
> > >
> > > -cory
> > >
> > > On 5/31/06, Guillaume Nodet <[EMAIL PROTECTED]> wrote:
> > > >
> > > >
> > > > Lance Waterman wrote:
> > > >
> > > > > Thanks guys, I like this API. A couple of questions:
> > > > >
> > > > > 1) Not quite sure I follow how 
"PartnerRoleMessageExchange.replyAsync()"
> > > > > works? This seems to imply the partner is dynamically changing the
> > > > > signature
> > > > > of the service interface.
> > > >
> > > >
> > > > I guess it does not mean that the response will be provided with a
> > > > callback, but rather
> > > > that the underlying transport is asynchronous and that the response is
> > > > not available at the
> > > > moment.  This may happen when using JMS for example.  If using JMS,
> > > > synchronous
> > > > transactional request / response is not possible, because the request
> > > > can only be received
> > > > when the transaction is commited.
> > > >  From my understanding, when the BPEL engine invokes a partner, you have
> > > > to call one
> > > > of the method defined on PartnerRoleMessageExchange.  If you call
> > > > replyAsync, it
> > > > just means that you will have to call another method later when the
> > > > response is received.
> > > >
> > >
> > > Is the PartnerRoleMessageExchange.replyAsync() call back needed?  Is
> > > it just a hint to the process that the transaction is going to be
> > > committed in the middle of an out-in <invoke>?
> > >
> > > What is driving the need for the MessageExchange stuff in the BPEL
> > > engine API?  Is it just the ability to implement synchronous
> > > request/response operations asynchronously.  We did spend sometime
> > > thinking about this when building the BPE.  We eventually decided that
> > > this was provide for by a one-way <invoke> and a <recieve>.  It feels
> > > like some bus like functionality is creeping into the engine.
> > >
> > >
> > > > > 2) MyRoleMessageExchange.setClientData() - is this used to set
> > > > > "out-of-band"/partnerLink data (i.e. EPR,JMS properties, etc ... )? I 
can
> > > > > get to this data from within a BPEL process using partnerLink in a 
<from>
> > > > > clause - correct?
> > > >
> > > > I think this was one of my concern.  If the integration layer receives a
> > > > request from jms for example,
> > > > it may need to store the replyTo jms destination in a reliable way so
> > > > that when the process response
> > > > is available, the integration layer can retrieve it to send the response
> > > > (this would also be the case
> > > > for JBI).   I thought it would be easier to put the burden of storing
> > > > this data to the bpel engine rather
> > > > than on the integration layer, because the bpel engine already needs to
> > > > store data, so it's just
> > > > another field to store.
> > > >
> > > > > 3) I'm trying to correlate how an EPR fits into deployment. I'm 
assuming
> > > > > that the EPR required for BpelEngine.createMessageExchange() is
> > > > > produced/queried by deploying a BPEL document. The deployment API
> > > > > produces
> > > > > an EPR for each registered BPEL <process> definition. In your API it
> > > > > looks
> > > > > like you have a stub for deployment "BpelServer.deploy()" that 
returns a
> > > > > QName. Is the assumption that the client translates the QName into an
> > > > > EPR?
> > > >
> > > >
> > > > Maybe one thing missing / implied, is that the deployment API is
> > > > reponsible for
> > > > creating EPR for all receive operations (my role) and invoke operations.
> > > > Else I do not really see how the BPEL engine could know the EPR to use
> > > > when invoking a partner, how to process the BpelEngine.isMyRoleEndpoint
> > > > or how to route the message to the right BPEL process when using the
> > > > BpelEngine.createMessageExchange.
> > > >
> > > > And I still do not understand why the operation name is the only
> > > > attribute available
> > > > on message exchange.  Either put all attributes in the EPR or put all
> > > > available
> > > > attributes on the exchange (imho we should at least have the PortType
> > > > QName).
> > > >
> > > > Cheers,
> > > > Guillaume Nodet
> > > >
> > > > >
> > > > > Lance
> > > > >
> > > > > On 5/25/06, Matthieu Riou <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > >>
> > > > >> Hi all,
> > > > >>
> > > > >> I've just imported the revised version of the integration API
> > > > >> specified by Maciej (if somebody with the necessary karma reads this,
> > > > >> Maciej's CLA has been received but he's the last one without an
> > > > >> account) for review. He also brushed up the javadoc.
> > > > >>
> > > > >> Comments are welcome (even just to say "Good job Maciej!" :-) ).
> > > > >>
> > > > >> Cheers,
> > > > >>
> > > > >> Matthieu.
> > > > >>
> > > > >
> > > >
> > >
> >
> >
> > --
> > CTO, Intalio
> > http://www.intalio.com
> >
>


--
CTO, Intalio
http://www.intalio.com

Reply via email to