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

RE: HTTPEctomy considered bad (was RE: RE: MS think

  • To: "'Paul Prescod'" <paul@p...>, xml-dev@l...
  • Subject: RE: HTTPEctomy considered bad (was RE: RE: MS thinks HTTP Needs Replacing???)
  • From: Michael Brennan <Michael_Brennan@A...>
  • Date: Thu, 28 Feb 2002 15:29:09 -0800

RE:  HTTPEctomy considered bad (was RE: RE:  MS  think
> From: Paul Prescod [mailto:paul@p...]

<snip/>

> Eventually you need to figure out what the data, addressing and
> invocation model of your web service is. You cannot be 
> "model-agnostic."
> You must decide. HTTP already gets you far down this path with its URI
> addressing model and 4 main methods for invocation. "Abstracting" over
> HTTP by erasing its model is not abstracting at all. 

Yes, but can you have an abstracted model based on REST principles that can
be mapped onto HTTP in straightforward fashion? It seems so to me, though
I'm not an expert. However, as I've been absorbing the REST debate, I've
been going back and looking at the HTTP spec to see what things HTTP offers
that I can use, and I'm finding quite a bit of useful stuff that I just
haven't paid attention to before. Not many IT developers are goint to bother
with this. They'll follow the lead of their tools.

For example, a developer will have to think about how to handle error
conditions in their web service. Will they go to the bother of looking in
the HTTP spec and see what status codes are relevant to various conditions?
If they use a Java class library with an exception hierarchy in front of
their noses, and the framework knows how to map exceptions to the
appropriate 4xx or 5xx status code, they are more likely to write an
application that returns appropriate HTTP status codes. The framework could
offer established patterns for dealing with async vs. synchronous message
handling. It knows to send a HTTP status 202 acknowledgement; the developer
just thinks about what pattern fits the problem but doesn't need to be a
protocol expert.

It seems to me there is value in a protocol agnostic model built on REST
principles, and tools with "smart" bindings that know how to leverage the
protocol to support the model, rather than the "dumb" WSDL approach that
minimizes the protocol and views it as just transport. 

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.