Faculty of Informatics, University of Lugano School of Information, UC Berkeley

Why is the Web Loosely Coupled?
A Multi-Faceted Metric for Service Design

Paper Presentation [http://dret.net/netdret/publications#pau09a] at WWW2009 [http://www2009.org/] (Madrid, Spain)

Cesare Pautasso (Faculty of Informatics, University of Lugano)
Erik Wilde (School of Information, UC Berkeley)

April 22, 2009

Creative Commons License [http://creativecommons.org/licenses/by/3.0/]

This work is licensed under a CC
Attribution 3.0 Unported License
[http://creativecommons.org/licenses/by/3.0/]

Contents Cesare Pautasso: Why is the Web Loosely Coupled?
A Multi-Faceted Metric for Service Design

Contents

Cesare Pautasso: Why is the Web Loosely Coupled?
A Multi-Faceted Metric for Service Design
hotspot/hotspot/layout/ischool+usi/usi+ischool.png

(2) Abstract

Loose coupling is often quoted as a desirable property of systems architectures. One of the main goals of building systems using Web technologies is to achieve loose coupling. However, given the lack of a widely accepted definition of this term, it becomes hard to use coupling as a criterion to evaluate alternative Web technology choices, as all options may exhibit, and claim to provide, some kind of loose coupling effects. This paper presents a systematic study of the degree of coupling found in service-oriented systems based on a multi-faceted approach. Thanks to the metric introduced in this paper, coupling is no longer a one-dimensional concept with loose coupling found somewhere in between tight coupling and no coupling. The paper shows how the metric can be applied to real-world examples in order to support and improve the design process of service-oriented systems.



Authors/Presenters

Outline (Authors/Presenters)

  1. Authors/Presenters [2]
  2. Coupling in Information Systems [5]
  3. Facets [14]
  4. Examples [2]
  5. Conclusions [3]
Authors/Presenters Cesare Pautasso: Why is the Web Loosely Coupled?
A Multi-Faceted Metric for Service Design
hotspot/hotspot/layout/ischool+usi/usi+ischool.png

(4) Cesare Pautasso

usi-complete.png

Authors/Presenters Cesare Pautasso: Why is the Web Loosely Coupled?
A Multi-Faceted Metric for Service Design
hotspot/hotspot/layout/ischool+usi/usi+ischool.png

(5) Erik Wilde

ischool-logo.png

Coupling in Information Systems

Outline (Coupling in Information Systems)

  1. Authors/Presenters [2]
  2. Coupling in Information Systems [5]
  3. Facets [14]
  4. Examples [2]
  5. Conclusions [3]
Coupling in Information Systems Cesare Pautasso: Why is the Web Loosely Coupled?
A Multi-Faceted Metric for Service Design
hotspot/hotspot/layout/ischool+usi/usi+ischool.png

(7) Web Service Quotes

cc.png
The notion of designing services to be loosely coupled is the most important, the most far reaching, and the least understood service characteristic.

Understanding SOA with Web Services, Eric Newcomer and Greg Lomow, Addison-Wesley, 2004 [http://www.informit.com/store/product.aspx?isbn=0321180860]

Loose Coupling is the secret sauce of Web services.

Service Orient or Be Doomed!, Jason Bloomberg and Ronald Schmelzer, Wiley, 2006 [http://www.wiley.com/WileyCDA/WileyTitle/productCd-0471768588.html]



Coupling in Information Systems Cesare Pautasso: Why is the Web Loosely Coupled?
A Multi-Faceted Metric for Service Design
hotspot/hotspot/layout/ischool+usi/usi+ischool.png

(8) Is WSDL Loosely Coupled?

cc.pngwsdl-coupling-1.png

Coupling in Information Systems Cesare Pautasso: Why is the Web Loosely Coupled?
A Multi-Faceted Metric for Service Design
hotspot/hotspot/layout/ischool+usi/usi+ischool.png

(9) Is WSDL Loosely Coupled? Yes!

cc.pngwsdl-coupling-2.png

Coupling in Information Systems Cesare Pautasso: Why is the Web Loosely Coupled?
A Multi-Faceted Metric for Service Design
hotspot/hotspot/layout/ischool+usi/usi+ischool.png

(10) Is WSDL Loosely Coupled? No!

cc.pngwsdl-coupling-3.png

Coupling in Information Systems Cesare Pautasso: Why is the Web Loosely Coupled?
A Multi-Faceted Metric for Service Design
hotspot/hotspot/layout/ischool+usi/usi+ischool.png

(11) Multi-Faceted Coupling

cd.png

Facets

Outline (Facets)

  1. Authors/Presenters [2]
  2. Coupling in Information Systems [5]
  3. Facets [14]
  4. Examples [2]
  5. Conclusions [3]
Facets Cesare Pautasso: Why is the Web Loosely Coupled?
A Multi-Faceted Metric for Service Design
hotspot/hotspot/layout/ischool+usi/usi+ischool.png

(13) Coupling Facets

dd.png

Facets Cesare Pautasso: Why is the Web Loosely Coupled?
A Multi-Faceted Metric for Service Design
hotspot/hotspot/layout/ischool+usi/usi+ischool.png

(14) 12 Facet Summary

dc.png
Facet Tight Coupling Loose Coupling
Discovery [Discovery (1)] Registration Referral
Identification [Identification (1)] Context-Based Global
Binding [Binding (1)] Early Late
Platform [Platform (1)] Dependent Independent
Interaction [Interaction (1)] Synchronous Asynchronous
Interface Orientation [Interface Orientation (1)] Horizontal Vertical
Model [Model (1)] Shared Model Self-Describing Messages
Granularity [Granularity (1)] Fine Coarse
State [State (1)] Shared, Stateful Stateless
Evolution [Evolution (1)] Breaking Compatible
Generated Code [Generated Code (1)] Static None/Dynamic
Conversation [Conversation (1)] Explicit Reflective


Facets Cesare Pautasso: Why is the Web Loosely Coupled?
A Multi-Faceted Metric for Service Design
hotspot/hotspot/layout/ischool+usi/usi+ischool.png

(15) Discovery

cd.png

Facets Cesare Pautasso: Why is the Web Loosely Coupled?
A Multi-Faceted Metric for Service Design
hotspot/hotspot/layout/ischool+usi/usi+ischool.png

(16) Identification

dd.png

Facets Cesare Pautasso: Why is the Web Loosely Coupled?
A Multi-Faceted Metric for Service Design
hotspot/hotspot/layout/ischool+usi/usi+ischool.png

(17) Binding

dc.png

Facets Cesare Pautasso: Why is the Web Loosely Coupled?
A Multi-Faceted Metric for Service Design
hotspot/hotspot/layout/ischool+usi/usi+ischool.png

(18) Platform

cc.png
platform-tight.png
  • Tightly coupled: platform/language dependent
platform-loose.png
  • Loosely coupled: platform/language independent


Facets Cesare Pautasso: Why is the Web Loosely Coupled?
A Multi-Faceted Metric for Service Design
hotspot/hotspot/layout/ischool+usi/usi+ischool.png

(19) Interaction

cd.png

Facets Cesare Pautasso: Why is the Web Loosely Coupled?
A Multi-Faceted Metric for Service Design
hotspot/hotspot/layout/ischool+usi/usi+ischool.png

(20) Interface Orientation

dd.pnginterface-orientation.png

Facets Cesare Pautasso: Why is the Web Loosely Coupled?
A Multi-Faceted Metric for Service Design
hotspot/hotspot/layout/ischool+usi/usi+ischool.png

(21) Model

dc.png
Die Bedeutung eines Wortes ist sein Gebrauch in der Sprache. (The meaning of a word is its use in language.)

Ludwig Wittgenstein [http://en.wikipedia.org/wiki/Ludwig_Wittgenstein], Philosophical Investigations [http://en.wikipedia.org/wiki/Philosophical_Investigations], 1953



Facets Cesare Pautasso: Why is the Web Loosely Coupled?
A Multi-Faceted Metric for Service Design
hotspot/hotspot/layout/ischool+usi/usi+ischool.png

(22) Granularity

cd.png

Facets Cesare Pautasso: Why is the Web Loosely Coupled?
A Multi-Faceted Metric for Service Design
hotspot/hotspot/layout/ischool+usi/usi+ischool.png

(23) State

dd.png

Facets Cesare Pautasso: Why is the Web Loosely Coupled?
A Multi-Faceted Metric for Service Design
hotspot/hotspot/layout/ischool+usi/usi+ischool.png

(24) Evolution

dd.png

Facets Cesare Pautasso: Why is the Web Loosely Coupled?
A Multi-Faceted Metric for Service Design
hotspot/hotspot/layout/ischool+usi/usi+ischool.png

(25) Generated Code

dc.png

Facets Cesare Pautasso: Why is the Web Loosely Coupled?
A Multi-Faceted Metric for Service Design
hotspot/hotspot/layout/ischool+usi/usi+ischool.png

(26) Conversation

cc.png

Examples

Outline (Examples)

  1. Authors/Presenters [2]
  2. Coupling in Information Systems [5]
  3. Facets [14]
  4. Examples [2]
  5. Conclusions [3]
Examples Cesare Pautasso: Why is the Web Loosely Coupled?
A Multi-Faceted Metric for Service Design
hotspot/hotspot/layout/ischool+usi/usi+ischool.png

(28) RESTful HTTP vs. RPC over HTTP vs. WS-*/ESB

cc.pngComparing RESTful HTTP, RPC over HTTP, and WS-*/ESB

Examples Cesare Pautasso: Why is the Web Loosely Coupled?
A Multi-Faceted Metric for Service Design
hotspot/hotspot/layout/ischool+usi/usi+ischool.png

(29) Coupling Comparison Summary

cd.png
Coupling REST RPC WS-*/ESB
Loose 10 3 4
Tight 0 4 5
Design-Specific 2 5 3
starfish.png


Conclusions

Outline (Conclusions)

  1. Authors/Presenters [2]
  2. Coupling in Information Systems [5]
  3. Facets [14]
  4. Examples [2]
  5. Conclusions [3]
Conclusions Cesare Pautasso: Why is the Web Loosely Coupled?
A Multi-Faceted Metric for Service Design
hotspot/hotspot/layout/ischool+usi/usi+ischool.png

(31) The Web and Web Services

dd.png

Conclusions Cesare Pautasso: Why is the Web Loosely Coupled?
A Multi-Faceted Metric for Service Design
hotspot/hotspot/layout/ischool+usi/usi+ischool.png

(32) Future Work

dd.png

Conclusions Cesare Pautasso: Why is the Web Loosely Coupled?
A Multi-Faceted Metric for Service Design
hotspot/hotspot/layout/ischool+usi/usi+ischool.png

(33) Summary

dd.png

April 22, 2009 Paper Presentation [http://dret.net/netdret/publications#pau09a] at WWW2009 [http://www2009.org/] (Madrid, Spain)