*
The moose likes Web Services and the fly likes SOAP and REST tightly and loosely coupled Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "SOAP and REST tightly and loosely coupled" Watch "SOAP and REST tightly and loosely coupled" New topic
Author

SOAP and REST tightly and loosely coupled

Rajesh Khan
Ranch Hand

Joined: Oct 16, 2011
Posts: 230
I have implemented SOAP webservices using JAX-WS and REST webservices using JERSEY. But I fail to see how SOAP is tightly coupled and REST is loosely coupled ??

Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
As there is no standard definition of "tightly/loosely coupled", it would be easy to argue that both are tightly coupled, and it would be easy to argue that both are loosely coupled. I'd say that SOAP is more tightly coupled than REST because it specifies the data types to be used, whereas REST does not. That makes it a bit harder (but by no means impossible) to change the implementation without also changing the interface.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SOAP and REST tightly and loosely coupled