Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Design Patterns

 
David Lindquist
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Everyone,
I have just begun work on the assignment (NX Contractors) and am having a little trouble getting started. I have a decent grasp of the APIs involved, but I lack understanding of architectural issues. I see a lot of discussion about Facades, Factories, Singletons, etc. While I have a vague understanding of these patterns, I have a bit of trouble knowing when and why they should be used. I was wondering if any of you knew of any good books or web sites on design patterns or general application design?
David
 
Bill Robertson
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. Applying UML and Patterns: An Introduction to Object-Oriented
Analysis and Design and the Unified Process (2nd Edition)
by Craig Larman
2. Design Patterns Explained: A New Perspective on Object-Oriented Design
by Alan Shalloway, James R. Trott
3.Design Patterns
by Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides
(This is the classic book and the best but its examples are in C)
 
Damian Ryan
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi David,
I bought a copy of "Applied Java Patterns" by Stephen Stelting and Olav Maasen (Sun Microsystems Press, ISBN 0-13-093538-7) shortly after it came out and found it a good introduction to patterns for Java. There were a few typos and grammatical mistakes, but these have probably been corrected in later reprints. The price on my copy was US$44.99, though I'm sure you'd get it cheaper at Amazon.
The book develops a PIM application throughout its chapters to demonstrate application of several patterns, then has a section at the back where it discusses the use of patterns with Java's API classes.
There may well be other good (or better) books about, but I haven't read any others.
Hope this helps.
Damian
 
Matt West
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I like
Patterns in Java Volume 1
by Mark Grand. Its subtitled
A Catalog of Reusable Design Patterns Illustrated with UML
and published by Wiley.
Its has a nice clear layout and does not have much fluff in it.
 
Tony Collins
Ranch Hand
Posts: 435
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the book by Gamma, Design Patterns. Is the one to have if you only buy one book but it's pricey.
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[Tony]: I think the book by Gamma, Design Patterns. Is the one to have if you only buy one book but it's pricey
Mmmmm, I don't think so. It's the established classic you should eventually get, but for a first book in patterns for someone with a Java background (as opposed to C and Smalltalk) most of the other books listed are probably preferable. I have and recommend both "Design Patterns Explained" and "Applied Java Patterns". "Explained" is a better introduction; "Applied" goes into more depth. I've heard a lot of good things about the Larman book; mixed reviews for Grand. Don't have either.
 
Damian Ryan
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the Larman book too, come to think of it (as well as the Applied Java Patterns book I mentioned before).
I forgot I had it because I haven't looked at it for ages. I would definitely recommend Applied Java Patterns over it because is so... worthy, and not so practical.
I would also agree with what Jim said about the Gang of Four book (Gamma et al). This book was and is the seminal patterns reference, but for someone with more Java experience than anything else looking for an introduction into patterns it's probably not the place to start.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic