Core Java
-
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 » -
Guava’s Collections2: Filtering and Transforming Java Collections
One of the conveniences of Groovy is the ability to easily perform filtering and transformation operations on collections via Groovy’s…
Read More » -
Guava’s Objects Class: Equals, HashCode, and ToString
If you are fortunate enough to be using JDK 7, the newly available Objects class is the obvious (at least…
Read More »