Core Java
-
Google Guava BloomFilter
When the Guava project released version 11.0, one of the new additions was the BloomFilter class. A BloomFilter is a…
Read More » -
Busting PermGen Myths
In my latest post I explained the reasons that can cause the java.lang.OutOfMemoryError: PermGen space crashes. Now it is time…
Read More » -
What is a PermGen leak?
What follows is a practical introduction to a specific type of memory problems in Java applications. Namely – we will…
Read More » -
Using Cryptography in Java Applications
This post describes how to use the Java Cryptography Architecture (JCA) that allows you to use cryptographic services in your…
Read More » -
How much memory do I need
What is retained heap? How much memory will I need? This is a question you might have asked yourself (or…
Read More » -
When using direct memory can be faster
Overview Using direct memory is no guarantee of improving performance. Given it adds complexity, it should be avoided unless you…
Read More » -
Type-safe Empty Collections in Java
I have blogged before on the utility of the Java Collections class and have specifically blogged on Using Collections Methods…
Read More » -
Working Efficiently with JUnit in Eclipse
Recently I was dragged into a discussion1 with some test infected2 fellows about how we use JUnit within the Eclipse…
Read More » -
Google Guava EventBus for Event Programming
It’s a given in any software application there are objects that need to share information in order to get work…
Read More »