• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Mark Hansen - REST?

 
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What actually is REST? What relevance has it got to Java Web services and SOA?
 
Ranch Hand
Posts: 502
jQuery Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I guess, this URL will answer your question.

http://www.xfront.com/REST-Web-Services.html

This book covers REST way of implementing web services using available Java WS APIs. See the sample chapter made at available

http://www.phptr.com/bookstore/product.asp?isbn=0130449687&rl=1#info4

Let me know if you have more questions.
 
author
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
REST is an architectural style, as described in the link provided by Prabhu.

However, there is also a fundamental debate going on in the Web Services community under the headline of "REST vs. SOAP". In that context, "REST" doesn't really refer to the architectural style - it simply means using Plain Old XML (POX), together with HTTP, to communicate with a Web service, rather than SOAP and WSDL.

The topic of REST vs. SOAP is covered in Chapter 3 of my book.
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For a lighthearted take on the subject see:
How I Explained REST to My Wife
REST vs. WS-*: A Parable
 
Joe San
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Really Interesting to know about REST. I have seen many books that simply don't talk about this. So your book looks something different.
 
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Mark D. Hansen:
In that context, "REST" doesn't really refer to the architectural style - it simply means using Plain Old XML (POX), together with HTTP, to communicate with a Web service, rather than SOAP and WSDL.



Is XML-RPC equivalent to REST ?
 
Mark D. Hansen
author
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No, XML-RPC is a precursor to SOAP. It is a simple protocol for doing Remote Procedure Calls (RPC) using XML.

REST is an entire architectural style - not a protocol. It is not RPC oriented. However, many people incorrectly label as "REST" any type of XML over HTTP exchange that does not use SOAP.

The following comes from the Wikipedia article about REST:

REST strictly refers to a collection of architectural principles (described below). The term is also often used in a loose sense to describe any simple interface that transmits domain-specific data over HTTP without an additional messaging layer such as SOAP or session tracking via HTTP cookies. These two meanings can conflict as well as overlap. It is possible to design any large software system in accordance with Fielding's REST architectural style without using the HTTP protocol and without interacting with the world wide web. It is also possible to design simple XML+HTTP interfaces that do not conform to REST principles, and instead follow a Remote Procedure Call (RPC) model. The two different uses of the term REST cause some confusion in technical discussions.
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Mark.You reply was very informative.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic