AnyBook4Less.com | Order from a Major Online Bookstore |
![]() |
Home |  Store List |  FAQ |  Contact Us |   | ||
Ultimate Book Price Comparison Engine Save Your Time And Money |
![]() |
Title: Concurrent Programming in Java(TM): Design Principles and Pattern (2nd Edition) by Doug Lea ISBN: 0-201-31009-0 Publisher: Addison-Wesley Pub Co Pub. Date: 05 November, 1999 Format: Paperback Volumes: 1 List Price(USD): $44.99 |
Average Customer Rating: 3.98 (41 reviews)
Rating: 5
Summary: Everything you need to know about concurrency in Java
Comment: Concurrent programming is fraught with peril. It's much more complex than sequential programming in every meaningful way from specification to unit testing. But if you want to do it right, meaning balancing liveness with safety for efficient and robust multi-threaded applications, you need Doug Lea's "Concurrent Programming in Java". Especially if you need to design an extensible framework with concurrency; well-known examples of such frameworks incluce Swing, most of java.net, and just about every aspect of J2EE.
Lea provides an intense introduction at the level of an advanced undergraduate course. It's fairly academic in tone, because he takes the time to provide thorough definitions and detailed examples. As a former academic who now designs and programs for a living, this is just what I was looking for. But don't buy this book expecting a cookbook of code to cut and paste. It's much more about providing you the fundamental tools to design your own concurrent classes, applications and frameworks.
Lea presupposes the user is fluent in Java, knows a bit about concurrent programming patterns involving mutexes, semaphores, etc, and is familiar with the basic object-oriented design patterns. If you're not up to speed in these areas, the path I followed was reading the following:
* Lewis's "Threads Primer" (warning: it's C/unix-based),
* Gosling and Joy's "Java Programming Language",
* Bloch's "Effective Java", and
* Gamma et al.'s "Design Patterns".
Even if you don't buy this book, consider using Lea's concurrent.util package available from his web site. It provides solid implementations of everything from simple mutexes to concurrent read-single write wrappers for Java collections (Sun's own wrappers simply synchronize all methods, which suffers reduced liveness compared to CRSW designs). And it's both elegantly designed and thoroughly javadoc-ed.
The first edition was great, and I've just finished reading the second edition cover to cover and it has taken my understanding of concurrent design to a new level. Just be warned that this book's not for novices or hobbyists; it's for programmers who need to design the guts of concurrent systems the "right" way and then implement them in Java, especially for extensible frameworks.
Rating: 4
Summary: Good for experienced programmers, but not as intro
Comment: The book is a valuable resource for experienced programmers who are trying to write large, complex, real-life concurrent Java programs. The book discusses in depth many concurrency-specific issues you can run into, especially with Java. It gives tons of useful advice (in rather abstract form), both in text and in code (see the book's website for more complete examples). The book is full of useful frameworks and patterns.
However, it make take you a while to understand most of them. The author is fairly careless about the reader, and lets the reader do all the work. To understand one paragraph you may have to browse through 10 other pages, because that parargraph would reference them directly or indirectly. For example, to understand what is meant by "volatile" or "ThreadLocal", it helps to read several pages that precede these terms (and in other instances, you'd have to read several pages that follow). In other words, the book is not easily digestible, and many sections have to be chewed and re-chewed. The best way to approach the book would be to read it in "circles/spirals" and "in no particular order".
On the whole, the knowledge and understanding you get out of the book is worth the effort, but, I wish the author showed a bit more understanding for the reader. With a bit more work, the book could have been not only informative but also readable. For now, its readability is on par with a dictionary.
Rating: 2
Summary: IQ test
Comment: I agree with other reviewers that this book is hard to read and understand. To me this is more like an IQ test, if you are smart enough then you get it, otherwise, get lost and those who gave this book 5 starts will simply say: he does not understand a thing but the book is really great.
So, all my fault, I should not buy this book at first and since I've bought it I should nod my head and say:
"hmm, that's right, this is really a wonderful book."
I wonder why the author didn't write this book in Chinese.
![]() |
Title: Java Thread Programming by Paul Hyde ISBN: 0672315858 Publisher: SAMS Pub. Date: 20 August, 1999 List Price(USD): $34.99 |
![]() |
Title: Effective Java Programming Language Guide by Joshua Bloch ISBN: 0201310058 Publisher: Addison-Wesley Pub Co Pub. Date: 05 June, 2001 List Price(USD): $39.99 |
![]() |
Title: Taming Java Threads : by Allen Holub ISBN: 1893115100 Publisher: APress Pub. Date: 01 January, 1970 List Price(USD): $34.95 |
![]() |
Title: Java Performance Tuning (2nd Edition) by Jack Shirazi ISBN: 0596003773 Publisher: O'Reilly & Associates Pub. Date: January, 2003 List Price(USD): $44.95 |
![]() |
Title: Core J2EE Patterns: Best Practices and Design Strategies, Second Edition by Deepak Alur, Dan Malks, John Crupi ISBN: 0131422464 Publisher: Prentice Hall PTR Pub. Date: 10 June, 2003 List Price(USD): $49.99 |
Thank you for visiting www.AnyBook4Less.com and enjoy your savings!
Copyright� 2001-2021 Send your comments