LooselyCoupled &TightlyCoupled

  • Thread starter Thread starter Bala
  • Start date Start date
Hi,

Loosely Coupled - many independent modules communicating between each other
only through a small subset of well defined interfaces

Tightly Coupled - a kind of "monolithic" system where parts are highly
interdependent.
 
A method that takes and/or returns a string may be concidered loosely
coupled as you can pass and return anything you can get inside a string (for
example.) If you return a Strong Named Person object, you are coupled very
tightly to that implementation. The caller needs to have the Person object
assembly, etc. This makes versioning and changes difficult. One reason they
are moving to service/contract approach in Indigo.
--wjs
 
Back
Top