Core Java
-
Exception Handling Guidelines & Best Practices
Let’s review some basic exception design guidelines, summarized from Object Design: Roles, Responsibilities, and Collaborations (Rebecca Wirfs-Brock and Alan McKean,…
Read More » -
Java 7’s Support for Suppressed Exceptions
A new constructor and two new methods were added to the Throwable class (parent of Exception and Error classes) in…
Read More » -
Seven NetBeans Hints for Modernizing Java Code
In the post Seven Indispensable NetBeans Java Hints, I talked about using NetBeans hints in general and then focused on…
Read More » -
Java 7 – Project Coin Decompiled
Hi all, it’s time to start writing in 2012. As you may have seen already in other blogs, there are…
Read More » -
Java Heap Space – JRockit and IBM VM
This article will provide you with an overview of the JRockit Java Heap Space vs. the HotSpot VM. It will…
Read More » -
JVM: How to analyze Thread Dump
This article will teach you how to analyze a JVM Thread Dump and pinpoint the root cause of your problem(s).…
Read More » -
Threading stories: about robust thread pools
Another blog of my threading series. This time it’s about thread pools, robust thread pool settings in particular. In Java…
Read More » -
ToString: Hexadecimal Representation of Identity Hash Codes
I have blogged before on the handy Apache Commons ToStringBuilder and I was recently asked what the seemingly cryptic text…
Read More » -
Automaton implementation in Java
This post will address the problem of implementing finite states machines into java. If you don’t know what FSM are…
Read More »