Java 7 Concurrency Cookbook (Quick Answers to Common Problems) Paperback – Import, 25 Oct 2012
Customers who bought this item also bought
What other items do customers buy after viewing this item?
About the Author
Javier Fernandez is a software architect with over 10 years experience with Java technologies. He has worked as a teacher, researcher, programmer, analyst, and now as an architect in all types of projects related to Java, especially J2EE. As a teacher, he has taught over 1,000 hours of training in basic Java, J2EE and Struts framework. As a researcher, has worked in the field of information retrieval developing applications for processing large amounts of data in Java and has participated as co-author on several journal articles and conference presentations. In recent years, has worked on developing J2EE web applications for various clients from different sectors (public administration, insurance, healthcare, transportation, etc.). Currently he works as a software architect at Capgemini, developing and maintaining applications for an insurance company.
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter mobile phone number.
Top customer reviews
Most helpful customer reviews on Amazon.com
the content of the book is still good though
The source of that flaw might already reside in the design of the book:
Recipes in a cookbook in general give answers in terms of What and How, but usually do not answer the question Why ... and this book does not either.
I think, for one of the most difficult topics within Java, this is not an appropriate approach.
Things, I particularly criticize:
The Java keyword "volatile" is not mentioned at all, nor is the bigger picture of the Java Memory Model. There is no way to become a good cook without that kind of background knowledge.
On page 65 a chapter "Appendix: Concurrent Programming Design" is referred.
This chapter does not exist (at least) in the paperback version. I've found out, that you can download it on the website. To me, this indicates, that the book was published a bit too early without proper internal review.
In the chapter above there is a paragraph "Avoiding deadlocks by ordering locks", which starts with a typical deadlock situation (BadLock.java). But what looks good at a first glance and is sold as solution (GoodLock.java), turns out to not solve anything; because it just passes the responsibility of the problem (always preserving the same order of locking) to the client of this class.
This turns the book from "just not useful" to even "harmful", since it gives an inexperienced reader a wrong feeling of certainty.
Regarding Java Concurrency, the work done by real experts like Brian Goetz, Doug Lea, Josh Bloch or Angelika Langer still is much more valuable than this book, even if they do not cover Java 7 features.
This is also, because the main improvements were already done in Java 5.