Have one to sell? Sell yours here
Java Performance and Scalability: 1 (The Sun Microsystems Press Java series)
 
See larger image
 
Tell the Publisher!
I’d like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Java Performance and Scalability: 1 (The Sun Microsystems Press Java series) [Paperback]

Dov Bulka
4.7 out of 5 stars  See all reviews (3 customer reviews)

Available from these sellers.


Amazon.co.uk Trade-In Store
Did you know you can trade in your old books for an Amazon.co.uk Gift Card to spend on the things you want? Plus, get an extra £5 Gift Certificate when you trade in books worth £10 or more before June 30, 2012. Visit the Books Trade-In Store for more details.

Product details

  • Paperback: 320 pages
  • Publisher: Addison Wesley; 1 edition (2 Jun 2000)
  • Language English
  • ISBN-10: 0201704293
  • ISBN-13: 978-0201704297
  • Product Dimensions: 23.1 x 18.5 x 2 cm
  • Average Customer Review: 4.7 out of 5 stars  See all reviews (3 customer reviews)
  • Amazon Bestsellers Rank: 2,207,806 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Dov Bulka
Discover books, learn about writers, and more.

Visit Amazon's Dov Bulka Page

Product Description

Amazon.co.uk 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, amazon.com

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.

Product Description

PLEASE PROVIDE DESCRIPTION


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
 

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

3 star
0
2 star
0
1 star
0
Most Helpful Customer Reviews
This is a cookbook! 5 Oct 2001
Format:Paperback
This is a cookbook for performance.
Do this, do that, and wham! There it is! Fast !!

I've read a couple of books on the subject, but this one stands out!

The author adresses a whole bunch of attack strategies which can and will help you to improve performance.

Every Java programmer could benefit from having this book in the reference bookshelf.

Comment | 
Was this review helpful to you?
Format:Paperback
A fairly decent book which any serious server-side Java developer ought to read. Some of the information is specific to JDK 1.1/1.2, but the ideas are valuable anyway. This is a very practical book which can be used to improve the performance of your code straight away.
Comment | 
Was this review helpful to you?
Excellent ! 3 Oct 2000
By A Customer
Format:Paperback
As a server side Java developer, I've often found myself in a situation where I had to choose between different implementation options, as well as deciding where to put the effort when it comes to code optimization. After reading this book, I feel much more confident when making these choises.

Not only did it help me from day one in developing better overall performing code. It helped me in tuning excisting code, and more important, it gave me an understanding of how to avoid pitfalls in the new code I write.

I especially like the graphs that compare the performance of different implementations. They make it painfully clear what tremendous bottlenecks can be hidden in innocent looking code.

The 48 lessons on code optimization can be used a reference when you need to optimize a specific part of your code or the book can be read in it's whole at once. I could'nt help reading it all at once! It's a very concise and well written book!

Comment | 
Was this review helpful to you?
Search Customer Reviews
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
   


Listmania!

Create a Listmania! list

Look for similar items by category


Look for similar items by subject


Feedback