Patterns in Java: A Catalog of Reusable Design Patterns Illustrated with UML, 2nd Edition, Volume 1

by Wiley

$45.00
buy from amazon.com
Average Rating: * * * - -
Sales Rank:748764 (lower is better)
Price Used:$10.70
Shipping:Free Shipping on most orders over $25*
Availability:Usually ships in 24 hours
Label:Wiley
UPC:723812227297
Pages:544
Binding:Paperback
Publication Date:2002-09-17
Published By:Wiley
ASIN:0471227293
Category:Book

Authors

Editorial Reviews and Product Descriptions

Product Description

"This is the best book on patterns since the Gang of Four's Design Patterns. The book manages to be a resource for three of the most important trends in professional programming: Patterns, Java, and UML."
—Larry O'Brien, Founding Editor, Software Development Magazine

Since the release of Design Patterns in 1994, patterns have become one of the most important new technologies contributing to software design and development. In this volume Mark Grand presents 41 design patterns that help you create more elegant and reusable designs. He revisits the 23 "Gang of Four" design patterns from the perspective of a Java programmer and introduces many new patterns specifically for Java. Each pattern comes with the complete Java source code and is diagrammed using UML.

Patterns in Java, Volume 1 gives you:

  • 11 Behavioral Patterns, 9 Structural Patterns, 7 Concurrency Patterns, 6 Creational Patterns, 5 Fundamental Design Patterns, and 3 Partitioning Patterns
  • Real-world case studies that illustrate when and how to use the patterns
  • Introduction to UML with examples that demonstrate how to express patterns using UML

The CD-ROM contains:

  • Java source code for the 41 design patterns
  • Trial versions of Together/J Whiteboard Edition from Object International (www.togetherj.com); Rational Rose 98 from Rational Software (www.rational.com); System Architect from Popkin Software (www.popkin.com); and OptimizeIt from Intuitive Systems, Inc.
Amazon.com Review

Software design patterns let developers reuse tried-and-true designs in new projects. For the state of the art in object design, consider Patterns in Java, perhaps the best book that Java developers have at their disposal for getting leading-edge pattern expertise in a convenient and well-organized volume.

The guide opens with background on pattern research, including the groundbreaking Design Patterns. This new title goes further, with 41 software patterns, all illustrated with UML diagrams and sample Java code. Early patterns, such as Delegation and Proxy, show how classes can work together without relying on inheritance. Next come creational patterns, such as the Factory and Builder patterns and the newer Object Pool pattern (which can be used to pool database connections for faster performance).

Subsequent sections move on to partitioning patterns, such as the Layered Initialization, as well as structural patterns, such as the Adapter, Facade, and Flyweight patterns. A section on behavioral patterns mixes older patterns such as the Chain of Responsibility and the Strategy with newer designs such as the Little Language and Snapshot patterns. The book closes with seven newer patterns for designing distributed and multitasked systems. --Richard Dragan

Customer Reviews

good parts - Reviewed on 2007-07-17
* * *

Bought this book for my nephew. His comment was "there are a lot of good parts, but you have to search for them."
The 2nd edition is not that bad - Reviewed on 2006-08-26
* * * * *

I haven't seen the first edition of this book.

The examples are rather good and the diagrams are in UML. Compare it to diagrams in [GOF95] which are written in some wierd ancient notation.
Although the exampled are in Java this book is good for C++ devs. This books is the fastest way to understand design patterns.
For learning design patterns... - Reviewed on 2005-07-29
* * * * *
1 customer found this review not to be helpful.
This book covers roughly the same territory as the GOF (Gamma, Helm, Johnson, Vlissides) book, only with simpler examples, in Java.

I found it easier to read than GOF; it gave me with a better overall understanding of the topic in general, and of specific design patterns. Grand's book may be slightly less valuable as a reference, however, when you need to actually use one of the patterns.
May be helpful - Reviewed on 2004-06-22
* * *
4 customers found this review helpful, 1 did not.

The help this offers is for students who haven't learned a lot of languages yet. For them, the effort of picking Java sense out of C++ or Smalltalk may defeat the rest of the pattern discussion. For them, Java code samples and references to familiar Java library elements can make all the difference.

For the rest of us, this book has decidedly mixed value. The real problem is that Grand seems to equate the terms "desgin pattern" and "good idea". Design patterns are good ideas, at least in the right context, but not all good ideas are design patterns.

For example, delegation of responsibility is a good idea. It's the basis of any system decomposition. I have trouble justifying that as a design pattern - you may as well say that passing function parameters is a design pattern. It's just too broad. At the other end of the spectrum, Grand points to "marker" interfaces, Java interfaces with identities but not content, as a design pattern. Again, this is a useful but language-dependent hack. Ada or C# would have done the same things with attributes, and C++ could have done the same using marker fields or values in the class. Language tricks aren't patterns.

Still, many of Grand's patterns are good ideas. The "Object Pool", for example, is a common and useful pattern. It's closely related to two GoF patterns. It's like a Singleton, except there's more than one of them. It's like a Flyweight, except the units aren't distinguishable or shareable.

One real annoyance is the tendency of this Volume I to refer to necessary information in Volume II. If the author is going to create independently saleable units of book, they should be independently readable. I do not appreciate the implicit plug for the author's other work.

I use this book, but mostly for its bad examples. Think hard about whether this is the way to spend your budget for DP books.

Beware - Spammer on Board - Reviewed on 2003-10-17
*
9 customers found this review helpful, 4 did not.

About every month or so I get spammed by this author touting his great seminars so I thought I'd give his book a shot. I guess you could say that he finally wore me down. Luckily I actually purchased the book used for $2 and still think I was royally ripped off.

The book begins poorly and gets worse. Specifically, the author definitely has a pension for patronizing his audience. He speaks as though he invented Patterns and is delivering them to the masses after bringing them down from the mountains inscribed on clay tablets.

Now, I'm not a guy to worry too much about a few typos here and there. After all, mistakes are made in code and text alike. However, the author's examples are not at all practical to the point of being useless and far too many of them flat out don't work!!

I'm not so much upset about the measly two bucks as I am about the several hours lost trying to decipher what the author meant and working through the typos. Anyway, hopefully this review will save someone else the time I lost.

Read More Customer Reviews »
Go To Amazon Product Page

* - See Amazon Product Page for shipping and pricing details.


Book Subjects