File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Design Patterns Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Design Patterns" Watch "Design Patterns" New topic

Design Patterns

David Lindquist

Joined: Jul 22, 2003
Posts: 6
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?
Bill Robertson
Ranch Hand

Joined: Mar 21, 2003
Posts: 234
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

Joined: May 09, 2003
Posts: 117
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.

Always proofread carefully to see if you any words out.
Matt West

Joined: Jul 31, 2003
Posts: 3
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.

Got SCJP in Feb 2003<br />Trying to find time for SCJD ever since.
Tony Collins
Ranch Hand

Joined: Jul 03, 2003
Posts: 435
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

Joined: Jan 30, 2000
Posts: 18671
[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.

"I'm not back." - Bill Harding, Twister
Damian Ryan
Ranch Hand

Joined: May 09, 2003
Posts: 117
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.
I agree. Here's the link:
subject: Design Patterns
It's not a secret anymore!