Let me provide a real word usecase similar to Ashley's one.

The DTCC manage confirmations of derivative trades. Trades occur
between two parties - PartyA (the bank) and PartyB the counterparty.
Occasionally trades are assigned to a third party (PartyC).

Trades can be submitted by either PartyA or PartyB (the order does not 
matter).
DTCC on receipt of a valid trade from two parties send out a 
notification to
both parties that the trade is "Confirmed" (the state change equiv to 
married after
a "marry"). PartyA and PartyB are distinct.

How does REST handle such a notification?

It gets slightly mroe complex is the trade is assigned. After 
submitting the assignment
(PartyA, partB and PartyC). A notification is sent to all three that 
the assignment is
"Confirmed".

How does REST handle tri-party agreements of this nature?

Cheers

Steve T

On 3 Jul 2006, at 09:26, Jan Algermissen wrote:

>
>  On Jul 2, 2006, at 11:56 PM, Ashley at Metamaxim wrote:
>
>  > How in REST would you handle something like "marry" where a single
>  > event causes the states of two resources (two people) to change
>  > (they both become married). Would you need two PUTs? If so, how do
>  > you ensure that the two PUTs are atomic: both succeed or both fail?
>  >
>
>  Interesting one!
>
>  Clarification question: are the two persons locally managed or would
>  one need a distributed transaction to update both?
>
>  Jan
>
>  > Thanks
>  > Ashley
>  >
>  >
>
>  
>   






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/NhFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/service-orientated-architecture/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to