The document compares REST and SOAP architectures for distributed computing. It defines REST as a web services style based on HTTP that designs operations on data, while SOAP is a protocol for exchanging structured information that offers application logic as a service. The document then outlines key differences, with REST being more lightweight, flexible and oriented towards data, while SOAP focuses more on operations, security and reliability. It concludes by recommending REST unless specific needs require SOAP.