Buy Used
+ £1.80 delivery
Used: Good | Details
Sold by musicMagpie
Condition: Used: Good
Comment: Buy with confidence from a huge UK seller, all items despatched next day directly from the UK. All items are quality guaranteed.
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

Follow the Author

Something went wrong. Please try your request again later.

Java (TM) Performance and Scalability, Volume 1: Server-Side Programming Techniques (The Sun Microsystems Press Java Series) Paperback – 2 Jun 2000

4.5 out of 5 stars 2 customer reviews

See all formats and editions Hide other formats and editions
Amazon Price
New from Used from
£17.99 £1.13
click to open popover

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.

  • Apple
  • Android
  • Windows Phone
    Windows Phone

To get the free app, enter your mobile phone number.


Product details

  • Paperback: 320 pages
  • Publisher: Addison Wesley (2 Jun. 2000)
  • Language: English
  • ISBN-10: 0201704293
  • ISBN-13: 978-0201704297
  • Product Dimensions: 18.4 x 1.3 x 22.9 cm
  • Average Customer Review: 4.5 out of 5 stars 2 customer reviews
  • Amazon Bestsellers Rank: 6,896,011 in Books (See Top 100 in Books)
  • Would you like to tell us about a lower price?
    If you are a seller for this product, would you like to suggest updates through seller support?

  • See Complete Table of Contents

Product description

Amazon Review

Written for the working programmer who wants to get more speed out of Java, Java Performance and Scalability, Volume 1, bundles several dozen tips for faster and smaller Java code. Backed up by benchmarks of what works and what doesn't, this book provides some essential wisdom for eliminating some common bottlenecks to Java performance.

The 48 optimisations for various aspects of the Java API make up the heart of this text. Early sections look at a particularly tricky subject--string processing--giving you several techniques for increasing speed and reducing object creation. The in-depth examination of the costs and benefits of string concatenation and the immutability of Java String objects will help you uncover possible hot spots that cause lagging performance with strings.

Subsequent sections look at more general strategies for faster programs, like purging obsolete code and the well-known 80-20 rule. (Optimising the 20 percent of your code that consumes 80 percent of processing time, allowing you to create faster software. This book shows you how.) Short tips on such APIs as Java collections and the Java Native Interface (JNI) come next.

The second half of the book zeroes in on better server-side performance with tips on caching and file I/O. The guide to multithreading and synchronisation is a standout here. You'll get several smart tips for speeding up servlets (like pre-computing your standard strings for headers and other boilerplate HTML). The book closes with a valuable custom class for JDBC database connection pooling and a custom HTTP server. Both samples make use of the techniques presented earlier in the text. Even if you don't adopt every suggestion, the ideas here can get you thinking about performance in new ways. (One of the main points of this book is that you can write faster custom code instead of always relying on built-in Java classes and APIs.)

Clearly, Java performance is not something that happens by accident. It must be engineered into your code. This compilation of useful techniques and tips deserves a close look by anyone who wants to squeeze more performance out of Java. --Richard Dragan,

Topics covered:

  • Introduction to Java performance
  • More efficient Java string handling (optimising String, String Buffer, and String Tokenizer objects)
  • Reducing Java overhead
  • Faster initialisation
  • The 80-20 rule for optimisation
  • Getting rid of obsolete code
  • Speeding up the JDK 1.1 Vector and Hashtable collection classes
  • Caching techniques
  • Optimising file I/O and buffering
  • Object recycling and object pools
  • Techniques for multithreading and synchronisation
  • Amdahl's law and scalability basics
  • Pros and cons of using the Java Native Interface (JNI)
  • Hints for optimising Remote Invocation Method (RMI) calls
  • Performance hints for servlets and JavaServer Pages (JSPs)
  • Custom sample code for JDBC database connection pooling and a Java HTTP server.


Performance is now the area where Java is being put to the test, offering ever greater competitive advantage for those who master it. In this book, one of the world's leading software optimization experts presents 48 lessons that address virtually every aspect of Java server-side performance, Java Performance and Scalability, Volume I proves that, through careful attention to underlying source code and program design, the Java programming language can meet and exceed developers' greatest expectations. Dov Bulka targets the most common and critical Java performance pitfalls, offering dozens of practical tips and solutions covering each performance-critical area. Bulka has done the hard work of digging deep into the JDK to understand Java performance in unprecedented depth. This book includes not only code examples, but actual measurements quantifying the improvements they deliver. Coverage includes strings, containers, numerics, I/O, RMI, JDBC, servlets, JSP, and much more -- including a complete case study that walks through improving the performance of a Web server by a full order of magnitude.

See all Product description

2 customer reviews

4.5 out of 5 stars

Review this product

Share your thoughts with other customers

23 November 2000
Format: Paperback
5 October 2001
Format: Paperback

Most helpful customer reviews on 3.1 out of 5 stars 15 reviews
2.0 out of 5 starsOutdated, don't like this word, but nearly "useless" today
8 March 2009 - Published on
Format: PaperbackVerified Purchase
Joe 345
2.0 out of 5 starsSo far I'm unimpressed
16 January 2001 - Published on
Format: PaperbackVerified Purchase
6 people found this helpful.
Mr. V. J. O'Sullivan
5.0 out of 5 starsA must for Advanced Developers.
24 July 2000 - Published on
Format: Paperback
21 people found this helpful.
Joshua Engel
5.0 out of 5 starsProfessional Java programmers must read this book
7 June 2000 - Published on
Format: Paperback
49 people found this helpful.
Darth Vader
1.0 out of 5 starsBig disappointment
6 August 2000 - Published on
Format: Paperback
21 people found this helpful.