This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Web Services and the fly likes SOAP Vs REST Vs JSON Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark "SOAP Vs REST Vs JSON" Watch "SOAP Vs REST Vs JSON" New topic
Author

SOAP Vs REST Vs JSON

Mani Maran
Greenhorn

Joined: Jun 04, 2007
Posts: 4
Hi,

I am very much interested in Web services. We are using REST in our project.
My PM said that JSON will be the feature. He also said that most of web application will be based on JSON. is that true?
Whether SOAP, REST, JSON are same or entirely different.
clear my confusion.

Thanks,
Manimaran K


SCJP 1.4<br />Mission - Enterprise Architect
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
  • SOAP is a protocol for exchanging XML-based messages
  • REST (Representational State Transfer) is an architectural style that is seen as an alternative to SOAP-based web services
  • JSON (Java Script Object Notation; http://www.json.org/) is used by some AJAX frameworks instead of XML as JSON is more suitable for representing object graphs. As such it has very little bearing on XML-based web services but is relevant to AJAX (object) data feeds.

  • So yes, they are different.
    You'll be able to find articles about SOAP and REST in the Web Service FAQ.
    [ June 06, 2007: Message edited by: Peer Reynders ]
    Mani Maran
    Greenhorn

    Joined: Jun 04, 2007
    Posts: 4
    Thank you very much for your reply
     
    GeeCON Prague 2014
     
    subject: SOAP Vs REST Vs JSON