This week's book giveaways are in the iOS and Features new in Java 8 forums. We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line! See this thread and this one for details.
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
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)
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
Always proofread carefully to see if you any words out.
[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
Joined: May 09, 2003
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.