This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
Similar Threads
RPC vs Document Style
Synchronus JMS Vs. HTTP request-response for SOA
query
tightly coupled vs loosely coupled
coupled classes