This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Confused About Decorator Pattern With Respect to Filter Wrappers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Confused About Decorator Pattern With Respect to Filter Wrappers" Watch "Confused About Decorator Pattern With Respect to Filter Wrappers" New topic
Author

Confused About Decorator Pattern With Respect to Filter Wrappers

Prithvi Sehgal
Ranch Hand

Joined: Oct 13, 2009
Posts: 774
Hi,
I am on this topic for over past two days scratching my head trying to apply decorator pattern on the example given in HFJS
in filters chapters about compression a response stream by writing a filter. Decorator pattern applies a concept of a component,
then a concrete component, then a decorator comes into picture and then the concrete decorator. Can someone explain me in an
elaborate way how we can apply decorator pattern to the example given in HFJS. I am very confused over it.
BR,


Prithvi,
My Blog, Follow me on Twitter,Scjp Tips, When you score low in mocks, Generics,Scjp Notes, JavaStudyGroup
 
GeeCON Prague 2014
 
subject: Confused About Decorator Pattern With Respect to Filter Wrappers