my dog learned polymorphism*
The moose likes OO, Patterns, UML and Refactoring and the fly likes Best Java Design Pattern Book Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Best Java Design Pattern Book" Watch "Best Java Design Pattern Book" New topic
Author

Best Java Design Pattern Book

bryan nelson
Ranch Hand

Joined: Jun 16, 2003
Posts: 95
Greetings,

I'm hoping to advance my understanding of some time-tested Java design patterns and am looking for the best resource to do so.

So here's the question:

If you were trapped on a desert island with Wi-fi access, a laptop, and one Design Patterns book...what would that one book be?

Thanks for everyone's advice!


"...and the Truth will set you free."
Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187
It seems like you are not clearly understanding the concept of object-oriented design patterns. There are no patterns that are specific for the Java programming language. Object-oriented design patterns can be implemented with any object-based programming language. They are design ideas that concern a variety of common design problems and/or requirements. By themselves, they are not solutions and they can all be implemented in many different ways. The authors of any software design book are only sharing their opinions. And these opinions typically are bound by the author's personal experience and perspective. The opinions are neither correct or incorrect.

There is no "single", "best" book. To truly get a good understanding of object-oriented design patterns, the student must (1) read, study and understand many books written by many authors, and (2) apply a variety of patterns multiple times in the context of "something significant" over a period of time.

A good understanding should come when you have actually implemented the patterns at least three or four times for different applications. Note, this is not the same activity as reading three or four web pages about design patterns.

An expert-level understanding will only come when you have done the above for many, many years, e.g. 10 or more.

Good luck on your deserted island
Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8883
    
    5
Hey Jimmy,

I think Bryan asked a perfectly fine question, and you didn't actually answer it, you kind of changed the subject. Your opinion is of course, just fine, but it's off topic...

carry on...


Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3099
    
  33

I found Head First Design Patterns really useful and easy to learn and understand the patterns with good examples . There's one more book- Design Patterns: Elements of Reusable Object-Oriented Software recommended by lot of people. The former is best to start with and the latter can be used for a quick reference when ever you need to refresh the patterns.


Mohamed Sanaulla | My Blog
bryan nelson
Ranch Hand

Joined: Jun 16, 2003
Posts: 95
Thanks Mohamed (& Bert),

It's interesting that you bring those two books up. So far I've found that almost everyone recommends one of those. I know that Design Patterns by the "Gang of Four" is considered to be one of the classics. But I also know that many people, like yourself, recommend starting with Head First Design Patterns.

I've also heard this one mentioned: Patterns of Enterprise Application Architecture. Is anyone familiar with it?

Thanks for the discussion.
Ran Pleasant
Ranch Hand

Joined: Jan 16, 2003
Posts: 75
bryan nelson wrote:I've also heard this one mentioned: Patterns of Enterprise Application Architecture. Is anyone familiar with it?


Yes, it is a very good book (anything by Martin Fowler is good). Also look at the books by Robert C. Martin. Craig Larman also has a set of basic patterns in his books that should play a part in most of your development.


Ran
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3099
    
  33

bryan nelson wrote:
I've also heard this one mentioned: Patterns of Enterprise Application Architecture. Is anyone familiar with it?


From what I glanced on Amazon, its specific to the Enterprise applications. So you can pick one based on your requirements.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Best Java Design Pattern Book