aspose file tools*
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "classic example Composite pattern " Watch "classic example Composite pattern " New topic
Author

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
Bartender

Joined: Feb 26, 2001
Posts: 4456
    
    6

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]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: classic example Composite pattern