Comments
Richard Davies wrote: The UK has a good crop of technology pioneers in cloud computing - for example ElasticHosts, FlexiScale, Flexiant, OnApp - and also some strong government initiatives such as G-Cloud. We will have to see whether this kind of technical leadership converts into swift mass-market adoption or not.
Cloud Expo on Google News

SYS-CON.TV
Cloud Expo & Virtualization 2009 East
PLATINUM SPONSORS:
IBM
Smarter Business Solutions Through Dynamic Infrastructure
IBM
Smarter Insights: How the CIO Becomes a Hero Again
Microsoft
Windows Azure
GOLD SPONSORS:
Appsense
Why VDI?
CA
Maximizing the Business Value of Virtualization in Enterprise and Cloud Computing Environments
ExactTarget
Messaging in the Cloud - Email, SMS and Voice
Freedom OSS
Stairway to the Cloud
Sun
Sun's Incubation Platform: Helping Startups Serve the Enterprise
POWER PANELS:
Cloud Computing & Enterprise IT: Cost & Operational Benefits
How and Why is a Flexible IT Infrastructure the Key To the Future?
Click For 2008 West
Event Webcasts
REST & Pneumatic Tube Systems
REST & Pneumatic Tube Systems

It's often said that history repeats itself - and by studying history we gain better insight into our current (and future) society. In the late 1800s the telegraph was immensely popular, but telegraphs only connected telegraph offices. Messages still had to be transcribed into a paper format and delivered to the appropriate person. Delivering them was a problem due to transportation costs, personnel costs, and time lost between transcription and delivery.

Pneumatic tube systems were developed to transport documents within a building or across an entire city (London had a tube system that traversed well over 50 miles). They were quite successful because they were easy to use and fairly reliable. Senders placed their document(s) within a small capsule that they deposited into the tube, and the system transported the capsule using compressed air. These systems had several built-in benefits - simplicity, security, and shared semantics - and they provided closed, point-to-point connectivity. Most of the tubes ran underground or within walls and were frequently shielded by cement or thick iron ducts; intercepting a message required a far different set of hacking skills (some of which may have involved explosives and pick axes). As with the Web today, documents were most vulnerable at the points of transmission and receipt. Semantics weren't an issue since senders and recipients usually worked for the same company or resided within the same locale (the fact that senders and recipients were humans capable of thinking, reasoning, and interpretation was also a big plus). Pneumatic tube systems proved to be so popular that they were used until the mid-1980s in France. Smaller systems are still in use today at hospitals, banks, and large grocery outlets.

Although tube systems have become virtually obsolete, we can still draw some interesting comparisons to today's popular view of Web services. Most implementations require SOAP for transport, WSDL for describing interfaces, and (optionally) UDDI for publishing/locating the service. Like the old pneumatic tube systems, messages must be placed into a "capsule" (in this case a SOAP envelope) prior to transmission. Secure messaging via HTTPS helps ensure that messages aren't tampered with prior to delivery (no cement or ironwork needed). While SOAP has become a de facto standard for Web services communications, it's far more difficult to understand than a simple pneumatic tube system capsule. SOAP is frequently referred to as a highly flexible application-level protocol that supports virtually any message exchange pattern (MEP), any protocol, any method or type of data. Highly flexible initiatives can be a lot like the paper clip - easy to understand and use until someone bends it out of shape, negatively impacting its interoperability.

A set of simple, universally understood and implemented methods can provide a viable alternative (or extension of) a SOAP infrastructure. The pneumatic tube system was so popular because of its simplicity and ease of use - all tube implementers shared a common set of core methods. The Web shares this trait and is based on a core set of simple methods (POST, GET, PUT, DELETE) that have been widely deployed and used on a global basis - you probably use most of them daily (via your browser) without a second thought. The wonderful thing about these methods is that they're universally agreed upon and highly scalable (the Web itself is built on them). Since we all agree on how these methods operate, why not utilize them for Web services?

This is, in essence, the point made by REST advocates. REST (REpresentational State Transfer) is an architectural style, not an application-level protocol (like SOAP), first described by Roy Fielding (see www.ics.uci.edu/~fielding/pubs/dissertation/top.htm). The REST architectural style recommends using the common HTTP methods (POST, GET, PUT, DELETE) used by the Web itself. This style is highly interoperable since clients need only understand HTTP - there's no longer a requirement (or expectation) to use specific enveloping rules (e.g., SOAP) or invoke proprietary methods (e.g., getStockPrice). Instead of building and sending a SOAP message, clients simply POST a simple XML message (containing only relevant application data) to a specific URI. The URI is linked to an internal method that processes the XML and returns an appropriate response that contains one or more additional URIs, enabling the client to drill down and obtain more detailed information or gain access to additional resources and methods. Sound simple? It is - REST architectural styles can simplify and extend SOAP infrastructures to organizations unfamiliar with or unable to use SOAP. A REST architectural style can also be used to wrap repositories that require knowledge of both SOAP and repository-specific APIs.

While REST may provide some insights into designing highly interoperable systems, some of the limitations of HTTP (such as WSDL-like descriptions, multihop routing, and reliability) have yet to be addressed. Providing SOAP-enabled methods within a RESTful architectural style appears to be a good approach for ensuring the highest levels of interoperability.

Pneumatic tube systems were a success because they provided a simple tool for effective message distribution. Initiatives such as SOAP and REST will continue to be successful due to their simplicity and ease of use (they're also immune to lost messages due to a rat's nest stuck in the pipe). Like the Web, tube systems continue to evolve - some scientists propose them for transporting people instead of documents. Might we see something similar using the Web or Weblike technologies? Beam me up, Scotty. Oops - 404: Person Not Found.

About John Evdemon
John Evdemon, formerly coeditor-in-chief of XML-Journal, is an Architect with Microsoft's Architecture Strategy Team covering BPM, SOA and Internet Scale Computing. He is an XML and e-business expert, having served as CTO/Director of XML-Related Products for both a large integration platform vendor and a small XML-centric start-up. He has been working with XML since its early beginnings, is an Invited Expert with the W3C XML Core Syntax Working Group and has chaired several industry-specific XML initiatives.

In order to post a comment you need to be registered and logged in.

Register | Sign-in

Reader Feedback: Page 1 of 1

Latest Cloud Developer Stories
Swisscom, the Swiss telecom, is going into the cloud business. Its subsidiary Swisscom IT Services AG has signed up with Red Hat as a Certified Cloud Provider and launched a public cloud Infrastructure-as-a-Service (IaaS) cloud targeting enterprise-class customers primarily in ...
Apache Deltacloud, the Red Hat-contributed ReSTful API that abstracts differences between clouds so services on any cloud can be managed – provided of course there’s a driver – has graduated from the Apache Foundation’s incubator and is now a full-fledged Top-Level Project (TLP)....
In a surprise move on Tuesday, January 10, Oracle wheeled out its Big Data Appliance. That’s the one it said in October would be ready sometime in the first half. Only nobody believed it meant early in the first half. Heck, it’s not even clear anybody thought Oracle could make ...
Rackspace Hosting, the service leader in cloud computing, on Thursday announced its acquisition of SharePoint911, an industry leader in SharePoint consulting, training, and "JumpStart" services within SharePoint. The unification of both companies provides capabilities to deliver ...
CloudLinux, Inc., on Thursday released CafeFS 3, a virtualized file system for shared hosters that cages each customer within its own virtualized file system. CageFS becomes part of CloudLinux OS at no additional charge. CloudLinux OS, the only commercially-supported Linux OS m...
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021

SYS-CON Featured Whitepapers
ADS BY GOOGLE

Breaking Cloud Computing News
United Data Technologies (UDT), has developed a unique set of social media specific solutions that w...