Sun Java Solaris Communities My SDN Account Join SDN
 

JavaOne Online Technical Sessions

Pump Up Your Technical Knowledge
Listen and watch as industry luminaries bring you the latest on Java technologies
Begin Product Tab Sub Links

Java Technology and REST: Implementing the Atom Protocol
TS-1756


Presenter: Dave Johnson, Sun Microsystems, Inc


A simple lightweight approach to web services known as REST is finding favor among developers on all platforms. The REST approach to web services seems simple. Applications use the existing HTTP protocol to create, retrieve, update and delete resources by sending and receiving XML documents. Gone are the volumes of complex web services specifications such as SOAP, WSDL and UDDI. But, are REST based web services really so simple to develop? Without those complex specifications, how do you deal with the devilish details of specifying a web services protocol, enabling discovery and introspection?

In this talk, we'll answer those questions by examining and implementing using Java technology in the REST-based Atom Publishing Protocol (APP) . The APP is an idea case study. It's reasonably-sized and it's significant, being one of the first REST-based protocols to become an Internet Engineering Task Force (IETF) standard. It's also useful. Although it was originally intended for blog publishing, it's generic and extensible enough to be used for wikis, content management and your own web applications.

The session will start with a lightning quick introduction to REST followed by on overview of prior-art in blog publishing protocols. Next we'll take a long walk through the Atom protocol, illustrating the discussion with command-line interactions with a live Atom server and Java source code examples using the ROME feed utilities, JDOM XML parser and Apache HTTPClient. Along the way, we'll develop a simple but complete Atom client library. After that we'll take a quick look at an Atom client based on the Java Foundation Classes/Swing (JFC/Swing) API and the Atom protocol server implementation in Roller. We'll conclude with a short discussion of possible Atom protocol applications and futures.

Watch The Session
You need to be a registered Sun Developer Network member to view this multimedia session. If you are a registered SDN member, please click on "Watch Multimedia" button to log-in to view the multimedia session. If you wish to join SDN, please click here.

 
 
FREE White Papers on Java SE, Java EE, cloud computing and database technologies.
New SDN Member Only Offers Every Month Discounts, FREE white papers and more!
Java University and JavaOne Training Sessions

Oracle is reviewing the Sun product roadmap and will provide guidance to customers in accordance with Oracle's standard product communication policies. Any resulting features and timing of release of such features as determined by Oracle's review of roadmaps, are at the sole discretion of Oracle. All product roadmap information, whether communicated by Sun Microsystems or by Oracle, does not represent a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. It is intended for information purposes only, and may not be incorporated into any contract.