O'Reilly logo

ASP.NET Web API by Joydip Kanjilal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Comparison of the three architectural styles

When choosing the architectural style that suits your business requirements, there are points aplenty that you have to consider. The following table compares the different architectural styles:

Attribute

Object Oriented

Resource Oriented

Service Oriented

Granularity

Object instances

Resource instances

Service instances

Support for caching responses

No

Yes

No

Payload

Yes, it is usually middleware specific

No, you have nothing that is linked to a particular address or URL

Yes, the WSDL schema

Addressing or request routing

Unique object instance

Unique address of a particular resource

Endpoint address of the service

Coupling between server and client

Tight coupling due to object serialization ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required