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

RE: A question about REST and transaction isolation


transactional rest
I'm not sure what you are trying to achieve.  REST isn't 
a good idea for isolating a transaction unless that 
transaction is expressed as a document.  Except possibly 
for tracing and logging (keep the instance around which 
is what is done with SQL statements for so-called 'deep logging'), 
I'm not sure what you are trying to do with REST that can't 
be better done with standard SQL.

1.  REST doesn't remove the requirement for replication, as in, 
a server collapsing under the load of both transactional 
updates and deletes while simultaneously attempting to process 
requests for reports.  Create a report server and replicate to it. 
REST is likely good for that.

2.  REST thrives as the granularity of a document/dataset; that is, a 
report.  Else one is defining a column/row as a resource.  That 
won't work, or at least, the pain of it is unacceptable in a stateless 
system.

Coarse granularity means exactly that: not for fine granular 
operations.

len


From: ari@c... [mailto:ari@c...]

David Megginson <dmeggin@a...> writes:

> K. Ari Krupnikov wrote:
> 
> > Client does presentation, server does business logic. Is that not in
> > line with REST?
> 
> I'll leave it to the RESTafarians to answer that question, but sending
> one big chunk of information is nicely in line with the XML ideal of
> separating information from processing.

It doesn't solve the lost update problem.

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.