BUY THIS BOOK
Add to Cart

Print Book $44.95


Add to Cart

Print+PDF $58.44

Add to Cart

PDF $35.99

Safari Books Online

What is this?

Add to UK Cart

Print Book £31.95

What is this?

Looking to Reprint or License this content?

Java Performance Tuning, Second Edition

By Jack Shirazi
January 2003
Pages: 588
ISBN 10: 0-596-00377-3 | ISBN 13: 9780596003777
starstarstarstarstar (Average of 3 Customer Reviews)

Buy 2 Get 1 Free Free ShippingGuarantee

Book description

Java Peformance Tuning, 2nd edition provides a comprehensive and indispensable guide to eliminating all types of performance problems. Using many real-life examples to work through the tuning process in detail, JPT shows how tricks such as minimizing object creation and replacing strings with arrays can really pay off in improving your code's performance. Tuning J2EE applications bears many similarities to tuning J2SE apps, but important and specific considerations apply. For this reason, Java Performance Tuning, Second Edition includes four new chapters: a new chapter on J2EE application tuning in general followed by chapters on tuning JDBC, servlets and JSPs, and EJBs.
Full Description

Performance has been an important issue for Java developers ever since the first version hit the streets. Over the years, Java performance has improved dramatically, but tuning is essential to get the best results, especially for J2EE applications. You can never have code that runs too fast. Java Peformance Tuning, 2nd edition provides a comprehensive and indispensable guide to eliminating all types of performance problems. Using many real-life examples to work through the tuning process in detail, JPT shows how tricks such as minimizing object creation and replacing strings with arrays can really pay off in improving your code's performance. Tuning J2EE applications bears many similarities to tuning J2SE apps, but important and specific considerations apply. For this reason, Java Performance Tuning, Second Edition includes four new chapters: a new chapter on J2EE application tuning in general followed by chapters on tuning JDBC, servlets and JSPs, and EJBs. Java Performance Tuning offers common-sense advice about what to tune and what to leave alone, emphasizing techniques that provide big performance gains with minimal code restructuring. It gives you crucial guidance that helps you tune without destroying your program's architecture. Blindly changing things in an effort to make a program run faster is a great way to create buggy, unmaintainable code. Java Performance Tuning teaches you to work efficiently and effectively, resulting in code that is robust, maintainable, and fast. Java Performance Tuning, Second Edition shows you how to:
  • Create a performance plan
  • Glean information about your program's behavior from profiling tools
  • Identify bottlenecks before tuning
  • Minimize the number of objects your program creates, particularly critical for J2EE applications
  • Optimize the use of strings
  • Avoid performance penalties from inefficient code
  • Improve the behavior of loops and switches
  • Optimize I/O behavior
  • Use appropriate algorithms for sorting and other common tasks
  • Use threads effectively
  • Optimize the performance of distributed systems
  • Speed up servlets and JSPs
  • Structure JDBC usage efficiently
  • Use effective design patterns to optimize EJB performance
Covers JDK 1.4

Browse within this book

Cover | Table of Contents | Colophon




Featured customer reviews

Write a Review


an excellent book full of useful tips,  June 09 2008
Rating: StarStarStarStarStar
Submitted by vernetto   [Respond | View]

I have been developing in Java for 10 years and I had no clue about lots of trick that are taught in this book. A real eye opener.
I only wish there was an edition for Java 5....


a good book, but do you really need it?,  May 12 2004
Rating: StarStarStarStarStar
Submitted by aFuqua   [Respond | View]

Java Performance Tuning would be a good book to have if you have a seriously performance intensive application or for someone who just really dug performance issues. But it wouldn't be of interest to most people. Most programmers should be able to do all the performance tuning they need to do with a program like Optomizeit.



Java Performance Tuning, 2nd Edition Review,  September 09 2003
Rating: StarStarStarStarStar
Submitted by Someone   [Respond | View]

Just great. I didn't buy this book, because I wasn't impressed with the first edition, but this really is a totally different book.

Read all reviews


Media reviews
"The very comprehensive nature of the book provides valuable information for all Java developers, and yet is helpful for just a quick understanding of particular Java issues. I enjoyed just reading through some of the chapters to confirm or enhance my understanding of particular execution characteristics."
-- Phil Bergstresser, Huntsville New Technology Users Group (HuNTUG)

"It's still a bit of a shock sometimes to realize how long Java has been around. Eight years is a long time in our industry--long enough for two generations of undergraduates to have it as a first language, and long enough for books about it to go into their second edition, which is a welcome thing, because by and large, only good books are updated and reprinted. Take Jack Shirazi's 'Java Performance Tuning,' for example. Shirazi is the driving force behind http://www.javaperformancetuning.com/, a site devoted to making Java programs faster, smaller, and more efficient. As the book acknowledges, speed has always been Java's Achilles' Heel...'Java Performance Tuning' starts by asking a simple question: 'Why is it slow?' After presenting a simple strategy for methodological tuning, Shirazi looks at the tools programmers have (or can build) for collecting performance data, including timing and memory-usage profilers...I think everyone who is using Java in real-world applications will get a lot out of this book, and I expect to refer to it often."
--Gregory V. Wilson, Doctor Dobb's Journal, October 2003

"A solid and comprehensive guide offering plenty of examples and sample code in addition to the well-reasoned text, 'Java Performance Tuning' is an ideal and strongly recommended addition to any Java user's personal or professional reference collection."
--"The Bookwatch," May 2003

"Finalist, Best Java Book--2003 JavaWorld Editors' Choice Awards"
http://www.javaworld.com/javaworld/jw-05-2003/jw-0509-finalists_p.html

Read all reviews

See larger cover