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

Re: ANN: Building Web Services the REST Way


building rest services
Jeff Greif wrote:
> 
> Why isn't it a RESTful solution to have the client encrypt the data (using
> an applet on the original page, or some Javascript or something else) and
> POST the encrypted data (encoded in base64 if necessary) to the HTTP server?

What if the semantic of the action was GET? And how will you say which
resource you are posting to without telling the software doing the
mapping from resources to logical objects?

If the only thing that is double encrypted is the entity body, but the
URI, headers and method are all SSL encrypted, then you would start to
see *some* of the benefits of REST.

As I've said, HTTP has no problem with this. But REST is an
architectural style. You either adhere to it, if you are allowed to, or
use some other architectural style if one has already been selected by
law or fiat.

Here's a similar question: "I've got an object database and I want to
access the objects in it as objects and post method calls to them etc."
Sure, HTTP will allow you to do that. But if you've already committed to
the object/method style of network programming then there is no role for
REST. If you stated your problem in terms of business needs then REST
could apply.
-- 
Come discuss XML and REST web services at:
  Open Source Conference: July 22-26, 2002, conferences.oreillynet.com
  Extreme Markup: Aug 4-9, 2002,  www.extrememarkup.com/extreme/

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.