31 used & new from $0.16

Have one to sell? Sell yours here
 
 
Java 2 Performance and Idiom Guide
 
See larger image
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get your Kindle here.
 
  

Java 2 Performance and Idiom Guide (Hardcover)

~ (Author), Rhett Guthrie (Author)
4.1 out of 5 stars  See all reviews (22 customer reviews)


Available from these sellers.


11 new from $1.99 20 used from $0.16

Editorial Reviews

Amazon.com Review

Written for the working Java programmer, the Java 2 Performance and Idiom Guide provides many tips for improving the efficiency (and readability) of your Java code. It provides a useful reference that will benefit any serious Java developer.

The most notable thing about this book is that it provides a real-world perspective on what does and doesn't work for optimizing Java. (The authors' advice is sometimes counterintuitive, and as Java compilers and environments have improved, outguessing the compiler has become a tricky business.) This book is organized into sections based on the likely effect of the suggested optimizations (from "major-moderate" to "minor" improvements). The authors test their code (and provide benchmark numbers) to back up what they say.

Advice on limiting object creation and remote calls, as well as proper class design for custom classes (especially the implementation custom equals() methods and using object factories) are absolutely invaluable here. The authors also look at how to choose the correct Java 2 collection class for your needs. Included in the discussion are several software patterns and "idioms" (language-specific tips), which can lead to more efficient and reusable designs. With a section on naming conventions, this book also promotes good programming style as well as more efficient code.

As a grab bag of hints for writing better code, the Java 2 Performance and Idiom Guide offers something for almost any Java developer. It demonstrates the authors' considerable experience in real-world projects to show some workarounds for problems that you will sometimes encounter when putting Java into the field for the first time, as well as some leading-edge thinking about efficient class design. --Richard Dragan

Topics covered: Java performance and optimization overview; hardware and memory performance hints; Sun HotSpot JVM; server-side performance issues; optimization hints for algorithms, collections, strings, and object creation; patterns; idioms for designing custom classes; dynamic classloading; constructors and object factories; concurrency hints; resource bundling and internationalization tips; exceptions; interfaces; inner classes and constructors; packaging; testing hints (white-box and unit testing); Java naming conventions; and Java coding style.



Product Description

Designed to document the common idioms and optimization techniques that experienced Java developers should know. Topics are presented specifically for Java 2, including coverage of features; the Collections Framework and the HotSpot JVM.

Product Details

  • Hardcover: 299 pages
  • Publisher: Prentice Hall PTR; 1st edition (September 16, 1999)
  • Language: English
  • ISBN-10: 0130142603
  • ISBN-13: 978-0130142603
  • Product Dimensions: 9.6 x 7.3 x 1 inches
  • Shipping Weight: 1.8 pounds
  • Average Customer Review: 4.1 out of 5 stars  See all reviews (22 customer reviews)
  • Amazon.com Sales Rank: #1,811,825 in Books (See Bestsellers in Books)

More About the Author

Craig Larman
Discover books, learn about writers, read author blogs, and more.

Visit Amazon's Craig Larman Page

What Do Customers Ultimately Buy After Viewing This Item?

Java 2 Performance and Idiom Guide
67% buy the item featured on this page:
Java 2 Performance and Idiom Guide 4.1 out of 5 stars (22)
Java Performance Tuning (2nd Edition)
17% buy
Java Performance Tuning (2nd Edition) 4.2 out of 5 stars (45)
$29.67
Pro Java EE 5 Performance Management and Optimization
16% buy
Pro Java EE 5 Performance Management and Optimization 5.0 out of 5 stars (2)
$58.49

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 organize and find favorite items.
Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

22 Reviews
5 star:
 (12)
4 star:
 (4)
3 star:
 (3)
2 star:
 (3)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.1 out of 5 stars (22 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
11 of 11 people found the following review helpful:
5.0 out of 5 stars If you want to know more than the syntax, buy this book., October 14, 1999
This book was very reminiscent of Effective C++. It allows a developer who is experienced, but just moving to Java, to get a jump start on how to effectively use the language. Even though most of the information was familiar to me, I wish I would have had a book like this when I began using Java. A great distillation of experience!

Erik

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
17 of 19 people found the following review helpful:
3.0 out of 5 stars Moderately useful, January 21, 2000
By A Customer
This book is moderately useful if you are relatively new to Java -- with two months of active work in a Java environment most everything in it should seem like common sense. For a beginner just after learning the language syntax, I would recommend it. For someone with, say, a years experience -- given the price -- this book would be a waste of money. Since that's pretty much a match with the authors' claims, I don't fault the book for that. My only real complaint is that the performance section is just plain weak.

One word of warning: this book should not under any circumstances be compared to the Scott Meyers C++ books. Those books are really indispensible no matter what your level of experience and deal in depth with language issues that are not obvious and often new features of the language standard.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
9 of 9 people found the following review helpful:
4.0 out of 5 stars Good quick read, June 23, 2000
By Christopher Janicki (Boston, MA USA) - See all my reviews
(REAL NAME)   
This book is not highly organized, reading more like an almanac than a textbook, but I think that is a plus here. I bought the book for the performance section, and picked up a couple things that only a guru would pick up on their own (e.g. the fact that Strings recalc their hash key every time). By cruising through all the points it helps reinforce your existing knowlege of to-do's and not to-do's, as well as comparing tradeoffs of similar choices. I ended up with some added confidence for my "common sense" programming practices, and some very valuable insight in some unfamiliar areas.

The downside is that this hardcover book is expensive for it quantity of content, and doesn't lend itself well to revisions. I actually like the brevity and white space, but I was able to browse the entire performance section is about 90-min. A perfect handbook! A pricy textbook.

I would have preferred to buy a cheap paperback version that might benefit from yearly revisions (like The Java Developer's Almanac), especially since I'm sure new revelations of performance tuning will materialize as the Java language matures and grows. Also, the book only covers general Java performance, touching on RMI, AWT, and Collections, but really staying close to the java.lang package... I'm sure there is a lot that could have been covered in specific API's (Java 2D, 3D, JDBC, etc.)

Overall this book is a keeper! Strong praise since even after being very picky about spending my book money I still end up trashing 50% of the books I buy.

I look forward to future expanded (and cheaper) editions.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

4.0 out of 5 stars Beautiful second read on Java
This book fell into my hands. I started to read it a little and could not really stop until I finished reading it. It is a beautiful second read on Java. Read more
Published on March 7, 2005 by ws__

2.0 out of 5 stars Some outdated 1999 tips
They really should release a 2nd edition with new techniques, and remove the old, disproven stuff (double-checked locking works???). We're on the brink of Java 1. Read more
Published on February 3, 2004 by Jonathan M. Julian

3.0 out of 5 stars Idiom? Axiom? Idiocy?
Something that inanely irritates me about Craig Larman's books is why he uses "idiom" when he means "axiom". Craig read a dictionary! Read more
Published on June 12, 2002

5.0 out of 5 stars Useful techniques and Practices
Documents useful techniques and best practices. Any serious Java programmer has to read this book atleast once.
Published on March 15, 2002 by Sridhar Guthula

5.0 out of 5 stars Very useful tips for Java Programming
I bought this book because I notice there are some tricks that are mentioned in this book are the same as I was told by some experienced software engineers. Read more
Published on July 4, 2001 by Kwok

5.0 out of 5 stars This should be your second book on Java
Knowing the syntax of a programming language is not enough, and this book will help you write better java programs. Read more
Published on May 23, 2001 by zeevb

5.0 out of 5 stars A Must Read for Intermediate Java Developers
Although the word "performance" is in the title, the main goal of this book is to provide a set of best practices and code samples (idioms) that allow correct Java... Read more
Published on May 9, 2001 by schapel

5.0 out of 5 stars Excellent excellent excellent
This is the book we all wish we had read a year or two or three ago. It is all the wisdom of an experienced Java programmer written down so that you can learn it in a hurry. Read more
Published on June 7, 2000 by Friendless

4.0 out of 5 stars Great performance tuning book
I thought this book was an excellent read. I particulary like the way the author separated the "major" performance gains from the "minor" techniques. Read more
Published on January 18, 2000 by Donald T. DeLuca

5.0 out of 5 stars Larman does it again!
If you are tired of books that insult your intelligence, you will find this book a welcome relief. Larman has done it again. Read more
Published on January 17, 2000 by ROBERT A DIFALCO

Only search this product's reviews



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
   



So You'd Like to...


Create a guide

Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Look for Similar Items by Subject

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.



Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.