Hi people.
I've read an article on the web about
Mediator Pattern: Reducing Page Dependencies in JSF.
But, even downloading the source code and studying it, I can't see the using of Mediator
pattern at this solution.
I don't want to criticize the article, but instead of this, I'd like to start a discussion about Mediator at this scenario
and understand better the use of this pattern in such context.
Could someone help me to identify the using of mediator pattern at this article?
Note: in this article, the mediator class is SelectAddressForCompanyBB and SelectAddressForPersonBB.
From my point of view, the mediator pattern may be used in situations where we have some complexity over
some classes that must collaborate with each other and we need decoupling such classes, centralizing the
instances management in a Mediator class. And reading this article I can't see this.
Thanks