.NET and Java J2EE Design pattern interview question: - What is the difference between Facade and Mediator pattern?

 Posted by ArticlesMaint on 4/7/2011 | Category: .NET Framework Interview questions | Views: 2300

Facade Design pattern

  1. Aims at simplifying interface.

  2. Existence of façade is not known to sub-system.

  3. Intermediates between client and sub stem.

Mediator Design pattern

  1. Aims at simplifying object interaction.

  2. Existence of mediator is known to objects since they interact using the same.

  3. Intermediates between various objects which want to interact.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response