{"id":163,"date":"2003-08-26T15:51:00","date_gmt":"2003-08-26T19:51:00","guid":{"rendered":"http:\/\/www.markbaker.ca\/wp\/?p=150"},"modified":"2003-08-26T15:51:00","modified_gmt":"2003-08-26T19:51:00","slug":"document-misconceptions","status":"publish","type":"post","link":"http:\/\/www.markbaker.ca\/blog\/2003\/08\/document-misconceptions\/","title":{"rendered":"Document misconceptions"},"content":{"rendered":"<p>Werner posted an article he wrote for IEEE Internet Computing titled\n<a href=\"http:\/\/weblogs.cs.cornell.edu\/AllThingsDistributed\/archives\/000120.html\">Web Services are not Distributed Objects: Common Misconceptions about Service Oriented Architectures<\/a>.<\/p>\n\n<p>That article is very well written, and\nWerner makes his point loud and clear as always &#8230; but ultimately, it makes\nsome of the same misconceptions as so many others have before it.  In this\ncase, I think I&#8217;ve boiled it down to one main misconception that I&#8217;ve\n<a href=\"http:\/\/www.markbaker.ca\/2002\/09\/Blog\/2003\/08\/07#2003-08-on-documents\">talked about recently<\/a>;<\/p>\n\n<blockquote>\nWeb services are based on XML documents and document exchange [&#8230;]\n<\/blockquote>\n\n<p>No, they are not.  Just open your wallet and grab a cheque, or a credit card\nreceipt, or your drivers license.  These things are what I know a &#8220;document&#8221; to be;\nstate.  If a cop asks me for my drivers license and I hand it to her, I have\nperformed &#8220;state transfer&#8221;, I haven&#8217;t asked her to do anything in particular by\ntransferring this document to her.  In contrast, the Web services view of a document\nincludes a &#8220;method&#8221; which effects the semantics of the movement (aka transport)\nof that document.  So if I had a Web services document which I handed to\nsomebody, I&#8217;m not merely submitting that document to them, I&#8217;m asking that they\nperform some explicit action for me as specified by the contained method.  This is\na very very different thing than what &#8220;document exchange&#8221; is normally understood\nto mean.<\/p>\n\n<p>I suggest that if you made the simple tweak to the big picture Web services\nvision to require that documents only contain state, then you&#8217;d have the\nWeb, or at least a substantial part of it.  I consider the Web to be the epitome\nof large scale document-centric distributed computing architectures.<\/p>","protected":false},"excerpt":{"rendered":"Werner posted an article he wrote for IEEE Internet Computing titled Web Services are not Distributed Objects: Common Misconceptions about Service Oriented Architectures. That article is very well written, and Werner makes his point loud and clear as always &#8230; but ultimately, it makes some of the same misconceptions as so many others have before [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[40],"class_list":["post-163","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-xml"],"_links":{"self":[{"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/posts\/163","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/comments?post=163"}],"version-history":[{"count":0,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/posts\/163\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/media?parent=163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/categories?post=163"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/tags?post=163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}