Give It a REST



Email    print   
January 15, 2007 —  (Page 1 of 2)
I’ve decided to stop being polite about the WS-* stack. I shipped my first XML-over-HTTP solution more than seven years ago. SOAP didn’t exist, so we just used servlets to parse requests and respond appropriately, a technique that today is called “Plain Old XML” (POX). We did lots of things that, in later years, would be considered wrong—we didn’t use namespaces, we didn’t fret a great deal about validation, we constructed our XML using string-processing commands—and, of course, there were pain points in what we developed. Yet we shipped.

In 2000, I first heard the refrain that’s become so familiar since: The coming wave of vendor-provided tools would simultaneously simplify development and enable new scenarios. Simplify? Constructing and parsing XML documents was even then about as hard as falling off a log, but anything can be made easier. The new scenarios envisioned in the year 2000 centered around guarantees: delivery, execution (via transactions) and privacy (via encryption). Quicker than you can say “https,” these were then bundled together into a “distributed trusted trading partner supply-chain.” In the face of such an important-sounding thing, I began my sorry history of capitulation. POX worked well for me and Roy Fielding’s thesis (roy.gbiv.com/pubs/dissertation/rest_arch_style.htm) seemed eminently logical, but, geez, if you’re trying to program a supply-chain with distributed trusted trading partners, then maybe WS-* has its advantages.

Every year since then, it’s gone the same way: I worked on systems and, invariably, those that used POX and REST had very little pain about tooling and debugging. Those that used WS-* protocols generally went fine—as long as everyone used the same tool set. If they used .NET exclusively, great. If they used Axis exclusively, great. If they used Random Programming Language exclusively, great. But what about when worlds collide? When you try to point a Java-based tool at a .NET-generated WSDL file or vice versa? Trouble.

I’ve advocated REST and POX in this column over the years, but never at the expense of WS-*, for which I always gave a “to be sure, complex scenarios may call…” deferral. No more. The final straw came when I found myself tracing a




Pages 1 2 


Share this link: http://sdt.bz/29990
 
Most Read Latest News Blog Resources

Add comment


Name*
Email*  
Country     


  • Comment
Loading




close
NEXT ARTICLE
Composite Server uses REST to expand data access
Version 5.1 works with a broader range databases and business applications than was previously possible Read More...
 
 
 
 
News on Monday
more>>
SharePoint Tech Report
more>>


   

 
 

Download Current Issue
FEBRUARY 2012 PDF ISSUE

Need Back Issues?
DOWNLOAD HERE

Want to subscribe?


 
blogs tab
Are you at risk for burnout?
Burnout is a severe problem and it can strike at any time. Here's how to tell if you are nearing the edge.
02/09/2012 02:16 PM EST

Agility, mom, and apple pie
If we're to evaluate the state-of-the-art in software development, we should start with the values espoused in the Agile Manifesto.
02/07/2012 11:57 AM EST

RIM woos developers with free tablet
How do you get more apps ported to the BlackBerry PlayBook? By giving every developer a free tablet, of course!
02/04/2012 01:57 PM EST

GitHire: Use Headhunters to Find Your Perfect Programmer
Are you a hiring manager tired of scouring the job boards? Check out this new service that will find 5 people interested in your jobs.
02/03/2012 12:17 PM EST

Facebook claims hacker cred
Facebook's SEC S-1 filing form includes a short essay on the Hacker Way by Mark Zuckerberg himself.
02/02/2012 08:26 AM EST

Ryan Dahl steps down
Ryan Dahl, creator of Node.js, steps back from his position as gatekeeper for the project.
02/01/2012 04:58 PM EST

 
Events calendar tab
2/13/2012 to 2/16/2012
Santa Clara
TechWeb

2/26/2012 to 2/29/2012
San Francisco
BZ Media

2/27/2012 to 3/2/2012
San Francisco
RSA

3/4/2012 to 3/7/2012
Las Vegas
IBM Tivoli

3/5/2012 to 3/9/2012
San Francisco
TechWeb