By Jack Shirazi
Second Edition
January 2003
Pages: 588
ISBN 10: 0-596-00377-3 |
ISBN 13: 9780596003777
![]()
![]()
![]()
![]()
(Average of 2 Customer Reviews)
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
- 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
Cover | Table of Contents | Colophon
Featured customer reviews
a good book, but do you really need it?, May 12 2004
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
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.
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








