[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

A question about REST and transaction isolation

  • To: xml-dev@l...
  • Subject: A question about REST and transaction isolation
  • From: ari@c... (K. Ari Krupnikov)
  • Date: 08 Feb 2004 16:59:44 -0800
  • Sender: ari@f...
  • User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

rest transaction
Suppose I want to build a RESTful interface to an ACID system. I want
to allow the user to incrementally change the state of the system, but
only "commit" the changes when he is satisfied with their sum. I
imagine a user GETting a resource, POSTing some changes to it which
may have side effects on other resources, GETting other resources to
observe the side effects, and eventually committing to the changes or
rejecting them. It's easy enough to take care of ACD because these
happen on the server and are transparent to REST, but I'm not sure how
would one ensure Isolation. Two users who are GETting the same
resource should see different things depending on which transaction
each of them is in. I can't see a way to do this except to add
something like ?transaction-id=0x234BD2037 to every URI which would
expose completely unnecessary implementation details to the user.

Am I thinking of this in the wrong terms?

Ari.

-- 
Elections only count as free and trials as fair if you can lose money
betting on the outcome.

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.