File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes OO, Patterns, UML and Refactoring and the fly likes facade pattern examples? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "facade pattern examples?" Watch "facade pattern examples?" New topic

facade pattern examples?

agape jurose

Joined: Nov 09, 2012
Posts: 3
im learning about facade pattern and could anyone tell me where do we see examples ? examples using uml ? what are pro and cons ? thanks
Jelle Klap

Joined: Mar 10, 2008
Posts: 1951

It's really quite a simple pattern to grasp and to implement. A Facade provides a simple API that shields its user from the complexities of a more fine grained API, or set of APIs, which are more difficult to use. The advantage is ease of use, because the Facade's API is coarse grained. That is, however, also the main drawback: loss of flexibility / fine grained control over the shielded API(s). Code samples are easy to find using good ol'Google, but the Wikipedia entry does an okay job.

Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
I agree. Here's the link:
subject: facade pattern examples?
It's not a secret anymore!