Have one to sell? Sell yours here
Patterns in Java: v.2: Vol 2
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Patterns in Java: v.2: Vol 2 [Paperback]

Mark Grand
1.0 out of 5 stars  See all reviews (1 customer review)

Available from these sellers.


Amazon.co.uk Trade-In Store
Did you know you can trade in your old books for an Amazon.co.uk Gift Card to spend on the things you want? Plus, get an extra £5 Gift Certificate when you trade in books worth £10 or more before June 30, 2012. Visit the Books Trade-In Store for more details.

Product details

  • Paperback: 368 pages
  • Publisher: John Wiley & Sons; Volume 2 edition (12 April 1999)
  • Language English
  • ISBN-10: 0471258415
  • ISBN-13: 978-0471258414
  • Product Dimensions: 23.1 x 19 x 2 cm
  • Average Customer Review: 1.0 out of 5 stars  See all reviews (1 customer review)
  • Amazon Bestsellers Rank: 1,593,334 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Mark Grand
Discover books, learn about writers, and more.

Visit Amazon's Mark Grand Page

Product Description

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, on Patterns in Java, Volume 1

Picking up where he left off in his bestselling Patterns in Java, Volume 1, Mark Grand arms you with 50 new and reusable Java patterns–some available for the first time–that help you create more elegant and reusable designs. As with Volume 1, each pattern is documented in UML and, where appropriate, a code example or an example in the core Java API is provided. Volume 2 gives you:
∗ 7 GRASP patterns that show you how to assign responsibilities to classes
∗ 12 GUI Design patterns
∗ 13 Organizational Coding patterns that help you to structure your code for readability and easier maintenance
∗ 5 Coding Optimization patterns help to improve your program′s performance in ways that a compiler′s automatic optimizations cannot
∗ 5 Code Robustness patterns
∗ 8 Testing patterns that describe different methods for software testing, including Black Box, Clean Room, and System Testing
∗ Real–world case studies that illustrate when and how to use the patterns
∗ A tutorial for writing your own designs in UML
∗ Pointers on using UML and patterns in development analysis, implementation, and testing
∗ Tons of sample code

The CD–ROM contains:
∗ All the code examples found in the book
∗ Evaluation versions of Together/J Whiteboard Edition from Object International (www.togetherj.com), OptimizeIt from Intuitive Systems, AssertMate version 1.0 from Reliable Software Technologies, and jtest! and CodeWizard for Java(TM) from ParaSoft

From the Back Cover

"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, on Patterns in Java, Volume 1

Picking up where he left off in his bestselling Patterns in Java, Volume 1, Mark Grand arms you with 50 new and reusable Java patterns–some available for the first time–that help you create more elegant and reusable designs. As with Volume 1, each pattern is documented in UML and, where appropriate, a code example or an example in the core Java API is provided. Volume 2 gives you:
∗ 7 GRASP patterns that show you how to assign responsibilities to classes
∗ 12 GUI Design patterns
∗ 13 Organizational Coding patterns that help you to structure your code for readability and easier maintenance
∗ 5 Coding Optimization patterns help to improve your program′s performance in ways that a compiler′s automatic optimizations cannot
∗ 5 Code Robustness patterns
∗ 8 Testing patterns that describe different methods for software testing, including Black Box, Clean Room, and System Testing
∗ Real–world case studies that illustrate when and how to use the patterns
∗ A tutorial for writing your own designs in UML
∗ Pointers on using UML and patterns in development analysis, implementation, and testing
∗ Tons of sample code

The CD–ROM contains:
∗ All the code examples found in the book
∗ Evaluation versions of Together/J Whiteboard Edition from Object International (www.togetherj.com), OptimizeIt from Intuitive Systems, AssertMate version 1.0 from Reliable Software Technologies, and jtest! and CodeWizard for Java(TM) from ParaSoft

Inside This Book (Learn More)
First Sentence
The Unified Modeling Language (UML) is a notation that you can use for object-oriented analysis and design. Read the first page
Explore More
Concordance
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organise and find favourite items.
Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Reviews

5 star
0
4 star
0
3 star
0
2 star
0
Most Helpful Customer Reviews
10 of 10 people found the following review helpful
By A Customer
Format:Paperback
I'd like to emphasise that there are NO DESIGN PATTERNS in this book - don't let the title confuse you. No doubt the word "Patterns" was kept for volume 2 because it's fashionable, but it isn't a very obvious description of what the book does contain.

A better description would be that the book is a collection of tips and advice on various subjects, including code robustness, UI design, good OO practice, optimization and testing.

However, if you want good and thorough coverage of any one of the topics in the book, you will be better looking at books and articles dedicated to that subject. If, on the other hand, you are an apprentice programmer looking for a general all-round treatment of good Java practices, this book does not provide it.

The selection of items included has no coherence. It varies wildly in many aspects, such as -

* Level: some items (like, "Use symbolic names for numeric constants") are at novice level, whereas others (Hashed Adapter Objects) are quite advanced.

* Type of coverage: some items advise on general coding style, others provide detailed code examples to solve very specific problems, and yet others describe approaches to coding without giving any suggestions about implementation whatsoever.

* Subject choice: there is no coherence to the subjects covered, which have nothing to do with each other, nor to the coverage within each of those subjects, which would be far better described with an integrated discussion than a random selection of tidbits.

The other huge problem with the book is its lack of clarity. It follows the same technique as Volume 1, dividing each section into Synopsis, Context, Forces, Solution, Consequences, etc. I actually think this division had some value in Volume 1, but it doesn't in most of the items here. All it achieves that tips like "Don't put magic numbers in your code, use symbolic constants," or "Break an over-long method into several smaller methods," that could be expressed in one sentence with at most a brief code example, suddenly take 4 pages to explain.

Furthermore, much of the explanation is very abstract, and this makes it hard to follow. There is quite a thorough explanation of testing practices, but it won't make any sense to you unless you are already familiar with the approaches being described. (In which case, of course, you don't need to read it.) And the section on testing also contains no code examples nor suggestions of how to actually implement, say, unit tests. (The immensely useful JUnit isn't mentioned.)

Worse still, in one or two places the advice is rather outdated. Double-checked locking seems to have been discredited, or at the very least is controversial, whilst there is no suggestion to consider using type-safe object-based constants when symbolic constants are needed.

Maybe these last two complaints are a little unfair, as I'm not sure these developments were well known when the book was released. Nonetheless it shows that it is rapidly being overtaken by events.

This book does not provide a particularly good selection of advice, nor is the advice it gives well written. It just looks like an attempt to cash in on the Patterns bandwagon by scraping together any material that the author could think of, and is certainly not worth the cover price.

Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com:  14 reviews
19 of 20 people found the following review helpful
90% obvious to a half-decent programmer 13 April 1999
By A Customer - Published on Amazon.com
Format:Paperback
While I liked Volume 1 of this series, this book is just not worth the money. Most of its "patterns" are obvious strategies which anyone who has taken more than a couple CS classes will know already. For example, there are about ten "User Interface" patterns. These consist of things like "If the user needs to enter many pieces of discrete information, use the Form pattern." Many of the other patterns are similarly obvious.

However, there were a few ideas about efficiency and testing which I found useful, so the book is not a total loss. I'd suggest flipping through it at a local bookstore, but that's it.

10 of 11 people found the following review helpful
Does the reader more harm than good 27 April 1999
By A Customer - Published on Amazon.com
Format:Paperback
Yes, it is high time to apply design patterns to Java. Java presents opportunities and challenges that were not present in C++.

In this series, Mark Grand converts well-established design patterns into Java. Unfortunately, he fails to demonstrate even a rudimentary understanding of his material. These books read like hopelessly flawed research papers, not the fruit of experience. I finished both books wondering whether the author had ever actually implemented any of these patterns in a real-world design.

He misinterprets some key points while missing others altogether. Some well-established patterns use inheritance for mixins. That's fine for C++, but Java provides only single inheritance. Wasting inheritance as he does, the author's implementations make it impossible to use inheritance for normal (more important) purposes. Interfaces solve many of the problems that the author creates. In some cases, the implementations contain hard code that flatly contradicts the intended generality of the patterns.

Volume 2 also demonstrates that the author does not know the difference between a coding technique and a design pattern. Some of his so-called "design patterns" (under his own name, of course) are mere coding techniques that have been around practically forever. Assertions provide a typical example.

This book may fool less experienced readers. Too bad they will eventually have to unlearn the garbage they pick up here.

This book gets one star only because it is the lowest rating I can give. Mr. Grand, please stop writing! You're only embarrassing yourself. Please do not release your intended third volume while your first two are in such desperate need of rewrites by a knowledgeable professional.

15 of 19 people found the following review helpful
A book of extraordinarily low value 7 Jun 1999
By A Customer - Published on Amazon.com
Format:Paperback
Around three years ago, I joked with a collegue of mine that a sure way to make a fortune would be to write a book which included the words "Java" and "Patterns" in the title. It would matter little, I argued, what the book contained. Just the title and a half-decent graphic on the front page would suffice.

It seems to me that both Mr Grand and his publishers Wiley are attempting to cash in on this very idea. The problem is that the joke was a bad one in the first place, and that it is now being made far too late in the day.

I hope that the software development community is sufficiently aware that it won't be taken in by this outrage.

Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!

Create a Listmania! list

Look for similar items by category


Look for similar items by subject


Feedback