Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Atom protocol as an alternative to SOAP

 
David M. Johnson
author
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lots of folks are using REST or more simply plain old XML (POX) over HTTP as an alternative to the traditional WS-* web services stack (SOAP, WSDL, UDDI, etc.).

If you're considering REST, then you should take a look at Atom: the format and the protocol. The format can be used to model collections of any type of data (HTML, XHTML, XML or *any* content-type). And the protocol supports create, retrieve, update and delete (CRUD) on collections. You can do a lot with collections and CRUD. For example, Google is using Atom protocol as the basis for GData and modeling calendar events as Atom entries.

And even if you don't use the protocol for your REST based web service, you can learn some REST best practices by reading the spec (it's actually pretty short and easy to understand). Here's a link:
http://bitworking.org/projects/atom/draft-ietf-atompub-protocol-10.html

And of course, the obligatory plug: I cover Atom protocol in Chapter 10 of RSS and Atom in Action and the examples includes a complete Atom protocol client and server.

- Dave
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Christian Gross, author of Ajax Patterns and Best Practices, was talking about REST during his book promotion.
He said that Ajax in combination with REST is the SOA killer application.
Moreover, I've read that 85% of Amazon's WebServices usage was via REST interfaces.
That REST is starting to make my ears ring
I've never used it yet, but I'd like to try and see what it really does.
Do you think that playing with Atom protocol would be a good introduction to REST ?

Chapter 10 in your book, about Atom, is only 20 pages.
Do you think this is enough to discuss such a new topic ? (it sounds new to me at least)
And could you tell us which examples of your book are using Atom ?

Thank you.
 
David M. Johnson
author
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Satou kurinosuke:
Do you think that playing with Atom protocol would be a good introduction to REST ?

Chapter 10 in your book, about Atom, is only 20 pages.
Do you think this is enough to discuss such a new topic ? (it sounds new to me at least)
And could you tell us which examples of your book are using Atom ?


I do think looking at Atom protocol is a good way to understand REST, but I don't really spend a lot of time explaining what REST is. The Atom protocol chapter focuses pretty exclusively on Atom protocol and how to interact with an Atom protocol server from Java.

- Dave
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic