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 classic example Composite pattern Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "classic example Composite pattern " Watch "classic example Composite pattern " New topic

classic example Composite pattern

vijay jacob
Ranch Hand

Joined: Jul 02, 2013
Posts: 57
I am looking for classic example of composite pattern from Telecom /Banking.

No manger employee hierarchy Please.

Junilu Lacar

Joined: Feb 26, 2001
Posts: 6488

vijay jacob wrote:No manger employee hierarchy Please.

Very well: an XML document. Each element in the document can be treated as both a Parent node and a Child node (with the exception of the root node, of course).

Junilu - [How to Ask Questions] [How to Answer Questions]
I agree. Here's the link:
subject: classic example Composite pattern
jQuery in Action, 3rd edition