File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "SOAP Vs REST Vs JSON" Watch "SOAP Vs REST Vs JSON" New topic


Mani Maran

Joined: Jun 04, 2007
Posts: 4

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.

Manimaran K

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

Joined: Aug 19, 2005
Posts: 2933
  • 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; 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

    Joined: Jun 04, 2007
    Posts: 4
    Thank you very much for your reply
    I agree. Here's the link:
    subject: SOAP Vs REST Vs JSON
    It's not a secret anymore!