Start reading Effective Java (2nd Edition): A Programming Language Guide on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here.

Deliver to your Kindle or other device

 
 
 

Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Read books on your computer or other mobile devices with our FREE Kindle Reading Apps.
Effective Java (2nd Edition): A Programming Language Guide
 
 

Effective Java (2nd Edition): A Programming Language Guide [Kindle Edition]

Joshua Bloch
4.6 out of 5 stars  See all reviews (23 customer reviews)

Digital List Price: £30.89 What's this?
Print List Price: £39.99
Kindle Price: £22.79 includes VAT* & free wireless delivery via Amazon Whispernet
You Save: £17.20 (43%)
Unlike print books, digital books are subject to VAT.

Formats

Amazon Price New from Used from
Kindle Edition £22.79  
Paperback £30.39  


Product Description

Review

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

Product Description

This is the eBook version of the printed book.

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.

 

Highlights include:

  • 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.


Product details

  • Format: Kindle Edition
  • File Size: 1318 KB
  • Print Length: 374 pages
  • Page Numbers Source ISBN: 0321356683
  • Publisher: Prentice Hall; 2 edition (8 May 2008)
  • Sold by: Amazon Media EU S.à r.l.
  • Language English
  • ASIN: B000WJOUPA
  • Text-to-Speech: Enabled
  • Average Customer Review: 4.6 out of 5 stars  See all reviews (23 customer reviews)
  • Amazon Bestsellers Rank: #25,401 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?


More About the Author

Joshua Bloch
Discover books, learn about writers, and more.

Visit Amazon's Joshua Bloch Page

What Other Items Do Customers Buy After Viewing This Item?


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
 

Customer Reviews

Most Helpful Customer Reviews
18 of 18 people found the following review helpful
Format:Paperback
I'd describe this book as being essential reading for any serious Java developer.
* 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.
Comment | 
Was this review helpful to you?
5 of 5 people found the following review helpful
Essential 30 May 2009
Format:Paperback
This book gives a comprehensive series of practical recommendations, on a broad range of topics in the Java 5 API.

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.
Comment | 
Was this review helpful to you?
2 of 2 people found the following review helpful
a must read book 14 Nov 2009
Format:Paperback
I bought both the first and second editions of this book. I feel that this book has probably made the biggest contribution to my understanding of programming in any language, although it is very much a book about the corners of Java and the pitfalls of many of its advanced features. Whilst many books give advice which fits a particular situation this book gives authoritative detail that empowers you to make a call on whether the technique fits the given situation or visa versa. This book is a must read for anyone who wants to undertake any type of code review of Java - particularly your own code!
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
Great book
Large scope, useful, easy to read and understand, some code examples... I recommend it to every java programmer! Just buy it and improve your java code ;)
Published 1 month ago by DiAlex
Not so much a Java book as a all round guide to good OO programming
I picked up this book last week as a new project requires Java to be learned, I was half expecting a walk through of how to use the language in the best way but it goes much deeper... Read more
Published 3 months ago by roland82
Great book
Great book, one of the best java books i have read. It's very organized, with great explanations writen by an exceptional programmer.
It's a good buy.
Published 9 months ago by me
Essential for Java programmers
Well written, clear and to the point. I read the first edition of this book a few years ago but recently bought v2 having started a Java project, and I still dip into it every now... Read more
Published 9 months ago by Nick
Pragmatic and well structured.
This book contains essential tricks and systematic guidance when you're programming in Java language. Read more
Published 10 months ago by Andrew Andreev
Essential reading for any java developer
This book is packed with very useful and very applicable advice.
I've incorporated a couple of useful practices recommended in this book.
Great book!
Published 12 months ago by Mr T
Not for the beginners, but a "Must Have" book
I've just started to read the book,
It's not for the beginner, but it's a very good resoucre for Java developer. More detailed review will be written after I finish reading.
Published 14 months ago by Ferdi
Excellent book
Great Book. Ideally the name of the book should be "Effective Programming using Java". The book is about how to program well using Java. Read more
Published 16 months ago by K. Annamalai
Excellent read
Great as a reference/refresher book as well as a helpful intro to Java.

I'm using it more as a refresher on java and it's very good, laid out well and easy to read. Read more
Published 17 months ago by Ian O'Donnell
Advanced Java book
This is an advanced java book which consists of any advanced, difficult, tricky, "unknown" topics in Java. Don't try to understand it when you just started programming. Read more
Published 17 months ago by Z. Lai
Search Customer Reviews
Only search this product's reviews

Popular Highlights

 (What's this?)
&quote;
a single-element enum type is the best way to implement a singleton. &quote;
Highlighted by 64 Kindle users
&quote;
One advantage of static factory methods is that, unlike constructors, they have names. &quote;
Highlighted by 54 Kindle users
&quote;
A third advantage of static factory methods is that, unlike constructors, they can return an object of any subtype of their return type. &quote;
Highlighted by 54 Kindle users

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
   



Look for similar items by category


Look for similar items by subject


Amazon Media EU S.à r.l. GB Privacy Statement Amazon Media EU S.à r.l. GB Delivery Information Amazon Media EU S.à r.l. GB Returns & Exchanges