• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Atom protocol as an alternative to SOAP

 
author
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you.
 
She's out of the country right now, toppling an unauthorized dictatorship. Please leave a message with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic