- Paperback: 368 pages
- Publisher: Addison-Wesley; 2nd Edition edition (28 May 2008)
- Language: English
- ISBN-10: 0321356683
- ISBN-13: 978-0321356680
- Product Dimensions: 18.8 x 2.3 x 23.4 cm
- Average Customer Review: 4.5 out of 5 stars See all reviews (64 customer reviews)
- Amazon Bestsellers Rank: 63,370 in Books (See Top 100 in Books)
- See Complete Table of Contents
Effective Java: Second Edition Paperback – 28 May 2008
|New from||Used from|
- Choose from over 13,000 locations across the UK
- Prime members get unlimited deliveries at no additional cost
- Find your preferred location and add it to your address book
- Dispatch to this address when you check out
There is a newer edition of this item:
Frequently bought together
Customers who bought this item also bought
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 your mobile phone number.
If you are a seller for this product, would you like to suggest updates through seller support?
Raves for the First Edition!
“I sure wish I had this book ten years ago. Some might think that I don’t need any Java books, but I need this one.”
―James Gosling, fellow and vice president, Sun Microsystems, Inc.
“An excellent book, crammed with good advice on using the Java programming language and object-oriented programming in general.”
―Gilad Bracha, coauthor of The Java™ Language Specification, Third Edition
“10/10―anyone aspiring to write good Java code that others will appreciate reading and maintaining should be required to own a copy of this book. This is one of those rare books where the information won’t become obsolete with subsequent releases of the JDK library.”
―Peter Tran, bartender, JavaRanch.com
“The best Java book yet written.... Really great; very readable and eminently useful. I can’t say enough good things about this book. At JavaOne 2001, James Gosling said, ‘Go buy this book!’ I’m glad I did, and I couldn’t agree more.”
―Keith Edwards, senior member of research staff, Computer Science Lab at the Palo Alto Research Center (PARC), and author of Core JINI (Prentice Hall, 2000)
“This is a truly excellent book done by the guy who designed several of the better recent Java platform APIs (including the Collections API).”
―James Clark, technical lead of the XML Working Group during the creation of the XML 1.0 Recommendation, editor of the XPath and XSLT Recommendations
“Great content. Analogous to Scott Meyers’ classic Effective C++. If you know the basics of Java, this has to be your next book.”
―Gary K. Evans, OO mentor and consultant, Evanetics, Inc
“Josh Bloch gives great insight into best practices that really can only be discovered after years of study and experience.”
―Mark Mascolino, software engineer
“This is a superb book. It clearly covers many of the language/platform subtleties and trickery you need to learn to become a real Java master.”
―Victor Wiewiorowski, vice president development and code quality manager, ValueCommerce Co., Tokyo, Japan
“I like books that under-promise in their titles and over-deliver in their contents. This book has 57 items of programming advice that are well chosen. Each item reveals a clear, deep grasp of the language. Each one illustrates in simple, practical terms the limits of programming on intuition alone, or taking the most direct path to a solution without fully understanding what the language offers.”
―Michael Ernest, Inkling Research, Inc.
“I don’t find many programming books that make me want to read every page―this is one of them.”
―Matt Tucker, chief technical officer, Jive Software
“Great how-to resource for the experienced developer.”
―John Zukowski, author of numerous Java technology books
“I picked this book up two weeks ago and can safely say I learned more about the Java language in three days of reading than I did in three months of study! An excellent book and a welcome addition to my Java library.”
―Jane Griscti, I/T advisory specialist
From the Back Cover
Are you looking for a deeper understanding of the Java™ programming language so that you can write code that is clearer, more correct, more robust, and more reusable? Look no further! Effective Java™, Second Edition, brings together seventy-eight indispensable programmer’s rules of thumb: working, best-practice solutions for the programming challenges you encounter every day.
This highly anticipated new edition of the classic, Jolt Award-winning work has been thoroughly updated to cover Java SE 5 and Java SE 6 features introduced since the first edition. Bloch explores new design patterns and language idioms, showing you how to make the most of features ranging from generics to enums, annotations to autoboxing.
Each chapter in the book consists of several “items” presented in the form of a short, standalone essay that provides specific advice, insight into Java platform subtleties, and outstanding code examples. The comprehensive descriptions and explanations for each item illuminate what to do, what not to do, and why.
- New coverage of generics, enums, annotations, autoboxing, the for-each loop, varargs, concurrency utilities, and much more
- Updated techniques and best practices on classic topics, including objects, classes, libraries, methods, and serialization
- How to avoid the traps and pitfalls of commonly misunderstood subtleties of the language
- Focus on the language and its most fundamental libraries: java.lang, java.util, and, to a lesser extent, java.util.concurrent and java.io
Simply put, Effective Java™, Second Edition, presents the most practical, authoritative guidelines available for writing efficient, well-designed programs.See all Product description
What other items do customers buy after viewing this item?
Top Customer Reviews
* Joshua provides a clear, concise and insightful guide that will help you better understand the intricacies of Java.
* The book of 78 recipes and helped me immensely to improve my understanding of Java.
* It's provides a no holds barred insight into some of the peculiarities of the Java API's as it has matured over the years.
* In particular I found these chapters useful:
** Generics one of the most illuminating I've read. (Though I still find the Java syntax rather odd in places!)
** Enums and Annotations
** a good intro to the more up to date ways of doing Concurrency.
** I also found the defensive copying example most enlightening.
It's packed with tips which make you go "aaaah I get it now", as in "I remember wondering about that and making a vaguely instinctive decision, instead of knowing precisely what to do and why".
Highly recommended for anyone who's been Java-ing for a year or 4, and wants to make better-informed design decisions.
Its not a regular Java book which describes the Java language syntaxes, its not a book about design, its not a book about coding style. Its something different.The book is not for beginners. To get the fullest out of the book, you must have good knowledge on the Java language and you must have involved in developing couple of applications (excluding maintenance and tinkering and punchering) and you must be confused.
Whenever confused, we always look at the existing code and follow the idioms used there. There is no wrong in doing it. But many times we don't realize the reasoning behind each idiom. This books clears everything that you would expect. It not only explains the best practice but also when to use it and when not to use it.
The 2nd edition brings into focus best practices around the new features introduced in Java 5, namely generics, new concurrency classes, enums and annotations.
Think you know about all the various ways to create a singleton? - every thought of using an enum with a single enumerated instance? - read the book, it'll be worth it, just for that.
Most Recent Customer Reviews
This book has opened my eyes to Java in a way I've NEVER seen since programming with the language since 2009! It's written based on 1. Read morePublished 6 months ago by Femi
Well written with good constructive examples. An easy ready and helped me along with my Java journey.Published 6 months ago by Jamie B
I am using this book in order to polish up my rusty Java having used C++ and C# for many years. While some of the advice is general to any language, much of it is Java-specific. Read morePublished 9 months ago by R. Whitehead