- Paperback: 368 pages
- Publisher: Addison-Wesley; 2nd Edition edition (28 May 2008)
- Language: English
- ISBN-10: 0321356683
- ISBN-13: 978-0321356680
- Product Dimensions: 18.5 x 3 x 22.9 cm
- Average Customer Review: 4.6 out of 5 stars See all reviews (52 customer reviews)
- Amazon Bestsellers Rank: 10,215 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
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 e-mail address or mobile phone number.
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
Inside This Book(Learn More)
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.
It's actually changed the way I think about my coding completely and I'm sure I'll be a better programmer for having read this whether I'm working in C#, Java or any language in the future. I would reccomend to almost any working programmer who cares about their craft
Most Recent Customer Reviews
Only the first items 1 & 2 out of 78 items in the book was enough to recommend the book. Item 2 'Consider a builder when faced with many constructor parameters' made my code so... Read morePublished 6 days ago by Akira
The book is a great reference to best practice's when developing in Java and I would recommend it.
Unfortunately the low cost is down to Amazon supplying a... Read more
The 'bible' for Java developers. Every Java dev should have at least one copy.Published 4 months ago by B. J. Warner
If you want to improve your java skills, this is a must have!
I am a Android developer for the last 5 years and this book really gives more ideas and best practices for your... Read more
Well written. Easy to understand. A must have for all Java developers.Published 12 months ago by TONY
Really great book, explains every aspect of good Java practises in a very clear way, with examples.Published 13 months ago by Mr. M. S. Nares