Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes OO, Patterns, UML and Refactoring and the fly likes Patterns examples with code. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Patterns examples with code." Watch "Patterns examples with code." New topic
Author

Patterns examples with code.

Priety Sharma
Ranch Hand

Joined: Jun 10, 2008
Posts: 156

Hi ,
I am reading pattens.
I have read patterns like decorator , singleton, observer and some others like proxy and state.

I do understand them but my problem is when to use some of the pattersn.
Like singleton is very easy to understand when to use but the others are not.

So is there a book or a online document which offers application type of scenarios and asks us to suggest or use a patterns for that scenario and the itself gives the ideal answer and the classes using such patterns. So that one improve or learn to implement patterns properly.

Regards,
Priety.


Priety.
Hong Anderson
Ranch Hand

Joined: Jul 05, 2005
Posts: 1936
As I know, Design Patterns [GoF] is the most comprehensive resource about Design Patterns.


SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional
sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1071
is there a Design Patterns [GoF] book written in java for free download.
i ckeck many sites.But i found the book written by C3 .Also it is not for free.
can any one help me.
Muhammad Khojaye
Ranch Hand

Joined: Apr 12, 2009
Posts: 449

Download Java Companion for free. This book is also very good in understanding Design Pattern.


http://muhammadkhojaye.blogspot.com/
Muhammad Khojaye
Ranch Hand

Joined: Apr 12, 2009
Posts: 449

Priety Sharma wrote:So is there a book or a online document


Also have a look at Design Pattern Links. Hope it helps
 
Consider Paul's rocket mass heater.
 
subject: Patterns examples with code.
 
Similar Threads
Static method / Singleton instance method
ServiceLocator with stateful session beans EJB 3.0
What do you think about my design ?
Singleton Pattern Vs All Static Methods
Pipelines Architecture Patterns