Hi Jitender I am not sure what angle you are looking at: Abstractly speaking, GoF should help you like someone else has already pointed out. You can satisfy your hunger in a few seconds at a local bookstore because the patterns are neatly categorized in the inner flap of the book itself (back of the cover) so you don't have to even browse inside if that's all you need. Major categories are structural, Creational, Behavioral, etc... If you are interested in more implementation oriented aspects, I have even seen something like "EJB Design Patterns" at the Sun java site. cheers Sanjeev
I would suggest you go for GOF book along with a Java Design Patterns - A Tutorial.It compliments GOF so well -- Sandeep
Joined: Feb 13, 2001
Hi Jitender, My 2 cents... A guru on patterns told me that all Java patterns books "miss the whole point" very badly. This is current as of 2 weeks ago. I am not denouncing any recommendations others have made in this thread or others, just telling you one guru's opinion which guided me when I was searching for pattern books. His only recommendation till date is GoF. I have used it and it is definitely neat and to-the-point. I generally browse the book at the bookstore and read amazon's reviewer comments before buying it. Its amazing how true and well-researched are "most" of the reviews at the amazon site. Hope it helps. Sanjeev
Joined: Apr 02, 2001
Also suggest you go through Java Design Patterns Vol. 1 and Vol 2 by Mark Grand. -- Sandeep
this is a valid question and deservs some thought. I have thought about it and many a time i want better ways of categorization. creational, structural and behavioural is the common way depending on the nature of the patern. the other way is looking where the pattern fits in the application tier, like presentation, workflow, data model related patterns. this is even better from a developer prespective.
the other way of classifying would be based on simillarities among the patterns, like many patterns suggest composition over inheritance. many patterns have simillar object heirarchy and collaboration with tricky differences. this classification is also helpful from memorizing patterns prespective.
there can be other better ways, can you guys do some educated guesses.
Joined: May 14, 2001
Hello all, Thanks for every one for sending me useful info. Iam very much pleased with Avijeeth Dash 's reply. because i was thinking about different ways to organize patterns other than what the GOF says. So if some one has anyother idea , can u please come up with it ? Thanks Jithu