Search the web
Sign In
New User? Sign Up
rest-discuss · REST Discussion Mailing List
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
rest transactions   Message List  
Reply | Forward Message #12727 of 14020 |
I don't want to get into a debate on whether transactions are
appropriate for restful applications/services or not, but check this out:

http://www.jboss.org/community/wiki/TransactionalsupportforJAXRSbasedapplication\
s


Mike Musgrave of JBoss TXM put it together.

Pretty clean API. I want to see if Atom Links can replace some of the
published URI schemes so that we can limit the number of URIs exposed by
the system and give more flexibility to the system as a whole. I'm also
wondering if we standardize on Link Relationships rather than data
format, this may free a DTX standard from having to define a data format
altogether.

Also, there's probably is, or going to be support for a compensating
transaction engine as well as we all know, 2pC DTX ain't really that
appropriate for loosly coupled systems.

--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com



Tue Jun 2, 2009 3:45 pm

patriot1burke
Offline Offline
Send Email Send Email

Forward
Message #12727 of 14020 |
Expand Messages Author Sort by Date

I don't want to get into a debate on whether transactions are appropriate for restful applications/services or not, but check this out: ...
Bill Burke
patriot1burke
Offline Send Email
Jun 2, 2009
3:45 pm

I have not studied the proposal in depth yet, so I may comment more after I do so. But my immediate response is that I think another less-well-known ...
Bob Haugen
bob.haugen@...
Send Email
Jun 2, 2009
4:08 pm

I know JBoss TX has a BTP implementation. This here is 2pc dtx restful api. ... -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com...
Bill Burke
patriot1burke
Offline Send Email
Jun 2, 2009
4:57 pm

Hi Bob! It's been a while :-) The compensating transaction model in the reference Bill sent round is what you're looking for I think (cf atoms in BTP). This...
Mark Little
nmcl2001
Offline Send Email
Jun 7, 2009
6:08 pm

... Hasn't it, though? And isn't this about where we left off lo those many years ago? (By the way, I'm not actually pushing BTP here, only the ...
Bob Haugen
bob.haugen@...
Send Email
Jun 7, 2009
12:31 pm

FWIW, these are the two references I use when discussing sagas and compensating transactions: About Sagas: ...
mike amundsen
mamund
Online Now Send Email
Jun 7, 2009
1:32 pm

Hi, can you provide a specific scenario you have in mind that would require transactions? (would help me think) Jan...
Jan Algermissen
algermissen1971
Offline Send Email
Jun 7, 2009
1:58 pm

... B2B order-fulfillment scenarios. For example, a quote-to-order sequence is a form of provisional-final 2-phase-commit transaction (with no locking). Does...
Bob Haugen
bob.haugen@...
Send Email
Jun 7, 2009
2:24 pm

... What if you can't undo, or if undoing is expensive? Then the provisional-final model is better....
Bob Haugen
bob.haugen@...
Send Email
Jun 7, 2009
2:21 pm

Bob: If you have a model where undo is not an option, Saga won't be of much use. I've run into this very often, but it happens. In those cases, I usually end ...
mike amundsen
mamund
Online Now Send Email
Jun 7, 2009
2:26 pm

ha! made a slight slip: "I've run into this very often, but it happens. " should have been: "I've NOT run into this very often, but it happens. " mca ...
mike amundsen
mamund
Online Now Send Email
Jun 7, 2009
2:27 pm

... What's wrong with a provisional-final scenario in your opinion? The context is long-running transactions. How long do you want to block?...
Bob Haugen
bob.haugen@...
Send Email
Jun 7, 2009
2:30 pm

Bob: Well, most often my experience on transactions has been driven by back-end resources that are already committed to 2PC (databases, etc.) so I rarely had...
mike amundsen
mamund
Online Now Send Email
Jun 7, 2009
2:42 pm

... Just google for: provisional-final transaction or "Tentative Business Operations" or "escrow transactional method" Or, from this group: ...
Bob Haugen
bob.haugen@...
Send Email
Jun 7, 2009
2:55 pm

Thanks, Bob. mca http://amundsen.com/blog/...
mike amundsen
mamund
Online Now Send Email
Jun 7, 2009
3:11 pm

Yes, but (and this is where we made mistakes in our BTP effort) ONE SIZE DOESN'T FIT ALL USE CASES. Let's make sure we can support multiple protocols if that's...
Mark Little
nmcl2001
Offline Send Email
Jun 9, 2009
1:15 pm

... I don't think so. ... No comment ;-) ... +1 ... My bad for not checking. We gave a presentation on this last week at JavaOne, but the wiki page doesn't...
Mark Little
nmcl2001
Offline Send Email
Jun 9, 2009
1:13 pm

... See next exchange of same views as before...but maybe we can make progress this time? ... My opinion remains the same, but maybe I can explain it better...
Bob Haugen
bob.haugen@...
Send Email
Jun 9, 2009
1:28 pm

... Oh I hope so ;-) ... I think it's the definition of "most" that we will end up debating until the cows come home. If we can agree that there will be a need...
Mark Little
nmcl2001
Offline Send Email
Jun 9, 2009
2:00 pm

... For the most part, I don't. I think one generic protocol will be most useful, although I can believe that outliers will happen. ... Why does the...
Bob Haugen
bob.haugen@...
Send Email
Jun 9, 2009
2:22 pm

... If you believe that different signals mean different things even if they have the same name then it does matter. Failure of prepare is different to failure...
Mark Little
nmcl2001
Offline Send Email
Jun 9, 2009
3:21 pm

If you find yourself in need of a distributed transaction protocol, then how can you possibly say that your architecture is based on REST? I simply cannot see...
Roy T. Fielding
roy_fielding
Offline Send Email
Jun 9, 2009
3:12 pm

... What I have in mind is a coordinator (a client) keeping track of the state of a transaction, and using normal REST interactions with participating...
Bob Haugen
bob.haugen@...
Send Email
Jun 9, 2009
3:54 pm

... P.S. In this previous message to this group: http://tech.groups.yahoo.com/group/rest-discuss/message/4150 You appeared to be saying something different: ...
Bob Haugen
bob.haugen@...
Send Email
Jun 9, 2009
4:19 pm

... No, I just found it to be useless for REST. It might still be needed for non-RESTful use of the same protocols. I tried out the above and then simplified...
Roy T. Fielding
roy_fielding
Offline Send Email
Jun 9, 2009
5:34 pm

... This was what I meant in my original post that defining and standardizing a few link relationships might simplify things a lot, both at the client resource...
Bill Burke
patriot1burke
Offline Send Email
Jun 9, 2009
9:03 pm

Instead of looking for a "transaction protocol" over HTTP, consider a resource that is acting as a coordinator. The client can then ask that coordinator...
Subbu Allamaraju
sallamar
Offline Send Email
Jun 9, 2009
10:45 pm

... I think most would want to design towards a compensation model for transactions (is this what you mean by "saga" Bob?) rather than a 2pc based one even in...
Bill Burke
patriot1burke
Offline Send Email
Jun 9, 2009
11:01 pm

Hello all, During the last year or so we have been working on a RESTful transaction model in the University of Surrey. The goal was to have ACID Transactions, ...
Alexandros Marinos
trojector.rm
Offline Send Email
Jun 9, 2009
11:37 pm
First  | < Prev  |  Next > Last 
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help