File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Decorator pattern Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Decorator pattern" Watch "Decorator pattern" New topic
Author

Decorator pattern

Kunal Lakhani
Ranch Hand

Joined: Jun 05, 2010
Posts: 618
i have read in head first Servlet & Jsp, that


What do this "DECORATOR PATTERN"?


kunal
Gladwin Burboz
Greenhorn

Joined: Feb 26, 2008
Posts: 25

http://en.wikipedia.org/wiki/Decorator_pattern

It is used to decorate HttpServletRequest object

See Decorating Servlet Request Objects


<a href="http://www.sealordresortarnala.com" target="_blank" rel="nofollow">http://www.sealordresortarnala.com</a>
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Decorator pattern
 
Similar Threads
Decorator Pattern ??
Decorator design pattern
[ Design question ] Avoiding inheritance
Is this a design pattern?
List of Patterns used in Java SE