aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 2906
  • 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 ]

    "Don't succumb to the false authority of a tool or model. There is no substitute for thinking."
    Andy Hunt, Pragmatic Thinking & Learning: Refactor Your Wetware p.41
    Mani Maran
    Greenhorn

    Joined: Jun 04, 2007
    Posts: 4
    Thank you very much for your reply
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: SOAP Vs REST Vs JSON
     
    Similar Threads
    SOAP vs REST
    REST vs SOAP
    SOAP vs REST
    REST vs SOAP - stateful/stateless
    REST vs SOAP