• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Good Design Patterns book?

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Would anyone recommend me some good books about design patterns in Java?
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I haven't read it... but I would assume that it covers exactly what you want... Patterns in Java by Mark Grand... ( here it is on amazon.com )

-Nate
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And of course there is the most famous Design Patterns book of all time
Design Patterns by Eric Gamma and friends also known as the "Gang of four" book (GoF).
 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When reading a design pattern book, the thing to keep in mind is that you are learning about design, and you want to know the pros and cons about each of the patterns, and when a particular pattern might be best suited to solve your problem.
I have read both the books by Mark Grand and Eric Gamma et la. The Eric Gamma did a better better job in explaining the pros and cons to me. If you have to buy just one design pattern book, I would get the book by Eric Gamma et la. Also go to amazon and read the reviews of what other people have said about these two books.
Note that the GoF book has sample code in smalltalk and c++, but that should not discourage you from buying that book if you only know java since it does a better job in explaining the concepts. If you want to see sample code in java, there are lots of resources on the internet, or pick up the Mark Grand book for the java code.
This site has class diagram and example java code (good if reading GoF book and want some java examples) http://www.eli.sdsu.edu/courses/spring98/cs635/notes/index.html
"The Design Patterns Java Companion" by James Cooper: http://www.patterndepot.com/put/8/JavaPatterns.htm
PDF book, and also java sample code
Bruce Eckel of Thinking in Java fame is also working on a Thinking in Patterns book. I haven't read his books, but there is a work in progress copy of the book at his website. http://www.mindview.net/Books/TIPatterns/
Eddy
 
calvin ho
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for everybody =)
I find your suggestion very helpful to me
 
Does this tiny ad smell okay to you?
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic