Core Java
-
Implementing dynamic proxies – a comparison
Sometimes there is the need to intercept certain method calls in order to execute your own logic everytime the intercepted…
Read More » -
Using regex to hanging indent a paragraph in Java
This post shows how to hanging indent a long paragraph using regular expression. The method will consider word boundaries, which…
Read More » -
sun.misc.Unsafe and off heap memory
The class sun.misc.Unsafe allows you to many of the things you shouldn’t be able to do in Java, but are…
Read More » -
How to estimate memory consumption?
This story goes back at least a decade, when I was first approached by a PHB with a question “How…
Read More » -
Java 8 Friday Goodies: Lambdas and XML
At Data Geekery, we love Java. And as we’re really into jOOQ’s fluent API and query DSL, we’re absolutely thrilled…
Read More » -
Java 8 Friday Goodies: java.io finally rocks!
At Data Geekery, we love Java. And as we’re really into jOOQ’s fluent API and query DSL, we’re absolutely thrilled…
Read More » -
GC impact on throughput and latency
One type of the problems each and every Java application out there has to wrestle with is related to garbage…
Read More » -
Learning about bitmaps
A few weeks ago Alistair and I were working on the code used to model the labels that a node…
Read More » -
Oracle ships Java 8
Oracle has decided to ship upgrade to JDK (Java Development Kit) 8 on March 18, even though the new release…
Read More »