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

Re: Exposing resources/services vs hiding implementationdetail

Jan Algermissen wrote:
> Michael Champion wrote:
>> On Apr 5, 2005 11:42 AM, Jan Algermissen 
>> <jalgermissen@t...> wrote:
>> My point is to ask for evidence to support that assertion,
> scalability: you do not get caching possibilities with single-service+POST

Here's another scalability point:

By supporting GET I can more easily route users to different locations
based on, e.g. service level agreements or security credentials.

Take the earlier example of a POST to register a query, returning via
a 302, a location to GET the results.

For Jan, who has purchased fast access to my service I can return
URLs to myfastserver.example.com. Jan also gets a richer response with
more data.

For Mike, who is using the free service, I can use URLs on 
slowserver.example.com. Mike gets a restricted view of the data.

Neither Mike or Jan has to code explicitly to account for this. Their
applications follow the redirect and subsequent links from that location.

I can decide to add such a system at a later date by deploying a
proxy server in front of my application that performs appropriate
rewrites to myfastserver or slowserver as appropriate.

Easy for me and for them.

There are no doubt ways to achieve this using SOAP+WSDL, but with
the above approach I can deploy some simple Apache scripts and I
like that simplicity.



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.
First Name
Last Name
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.