REST stands for REpresntational State Transfer (REST) while SOAP Stands for Simple Object Access Protocol (SOAP).
1. REST can be consumed by any client e.g. Java, C++, Python client and even a web browser with Ajax and JavaScript.
2. REST is lightweight as compared to SOAP, it doesn't require CPU consuming XML parsing and it also consumes less bandwidth because unlike SOAP, REST doesn't require a SOAP header for every message.
3. SOAP is an old technology, all modern technical giant are using REST e.g. Google, Twitter, and Flickr.
4. REST is easy to learn, its just nouns and verbs. If you already know HTTP methods then its even easier.
5. Java has excellent support for RESTFul web services, well it also has good support for SOAP web services but you have lots of choices here e.g. Jersey, RESTLet etc.

1. REST can be consumed by any client e.g. Java, C++, Python client and even a web browser with Ajax and JavaScript.
2. REST is lightweight as compared to SOAP, it doesn't require CPU consuming XML parsing and it also consumes less bandwidth because unlike SOAP, REST doesn't require a SOAP header for every message.
3. SOAP is an old technology, all modern technical giant are using REST e.g. Google, Twitter, and Flickr.
4. REST is easy to learn, its just nouns and verbs. If you already know HTTP methods then its even easier.
5. Java has excellent support for RESTFul web services, well it also has good support for SOAP web services but you have lots of choices here e.g. Jersey, RESTLet etc.

Comments
Post a Comment