This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes OO, Patterns, UML and Refactoring and the fly likes Decorator Pattern Confusion Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Decorator Pattern Confusion" Watch "Decorator Pattern Confusion" New topic

Decorator Pattern Confusion

Prithvi Sehgal
Ranch Hand

Joined: Oct 13, 2009
Posts: 774

I am trying to study Decorator pattern from Head First Design Patterns but i am unable to understand the basic concept,
can please someone point me towards a compact article or describe decorator pattern with an example.


My Blog, Follow me on Twitter,Scjp Tips, When you score low in mocks, Generics,Scjp Notes, JavaStudyGroup
Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187

I agree. Here's the link:
subject: Decorator Pattern Confusion
jQuery in Action, 3rd edition