Why is Java optimization so important? Throughout its history, Java has always endured claims of being slow. Although factors such as better hardware, better JVMs, and improvements to the Java language have drastically improved Java performance over the years, it still has a reputation of being slow. So for Java applications, performance is always a key issue. And Any Java developer should remind himself to optimize Java applications.

Here are some guidelines and programming standards to improve your Java code.

  • Collections
  • String and StringBuffer
  • Serialization
  • I/O
  • Object creation
  • Loops
  • Exceptions

Precise Java (J2SE)
Effective Java Programming Language Guide
Java Puzzlers: Traps, Pitfalls, and Corner Cases