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

Re: Exposing resources/services vs hiding implementationdetail


information hiding in xml
Bill de hÓra:

> I understand this to mean: create objects (=resources, when speaking 
> about REST) for the things of interest and expose them to the client 
> (to  make caching of read-data-requests (GET in REST-land) possible.

Michael Champion:

> >That seems to violate the principle of information
> >hiding 

Jan Algermissen:

> Hmm...making the objects of interest known to the client is not what I 
> understand by "information hiding". "Information hiding" to me means to 
> hide the implementation from the client.

Precisely.  That's where Mike got confused.  One interesting property of
SOA (assuming I have the right idea from the hundred pundit-flavor-of-
the-day definitions) is that at first glance it seems to turn every
classic architectural convention on its ear.  But if you pay proper
attention to what those classic conventions really mean, you find
there's no real conflict.


> Of course there are issues with the granularity of what you choose to 
> expose (Facade pattern comes to mind[1]), but the extreme of providing a 
> single poiunt of access (e.g. http://foo.org/myService ) to POST 
> everything to just doesn't seem to cut it when it comes to scalability 
> and integratability.

Navigating this compromise is the main reason why SOA/REST/WS/etc. do
not eliminate the roles of expert data architects, as wizard toolkit
vendors like to suggest.  See also David Megginson's REST questions.
The answer is that there is no one answer.  You need a deft hand to tune
things for your specific application.  The result, of course, is well
worth the care, or we wouldn't be advocating what we do.


-- 
Uche Ogbuji                                    Fourthought, Inc.
http://uche.ogbuji.net    http://4Suite.org    http://fourthought.com
Use CSS to display XML, part 2 - http://www-128.ibm.com/developerworks/edu/x-dw-x-xmlcss2-i.html
Writing and Reading XML with XIST - http://www.xml.com/pub/a/2005/03/16/py-xml.html
Use XSLT to prepare XML for import into OpenOffice Calc - http://www.ibm.com/developerworks/xml/library/x-oocalc/
Be humble, not imperial (in design) - http://www.adtmag.com/article.asp?id=10286
State of the art in XML modeling - http://www.ibm.com/developerworks/xml/library/x-think30.html


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.