Core Java
-
What’s new in Java 8 – Date API
With the final release of Java 8 around the corner, one of the new features I’m excited about is the…
Read More » -
Good use of Closures
Not long ago, in a blog post, I explained what Closure were in Groovy. This blog post will explain one…
Read More » -
Java 8: Lambda Expressions vs Auto Closeable
If you used earlier versions of Neo4j via its Java API with Java 6 you probably have code similar to…
Read More » -
An open source JVM Sampling Profiler
It’s a well known deficiency of most existing sampling Java profilers that their collection of stack traces has to happen…
Read More » -
Allocating memory for the JVM: a case study
This post is about a recent performance tuning exercise. As always, these start with vague statements about symptoms. This time…
Read More » -
Synthetic and bridge methods
If you have ever played with reflection and executed getDeclaredMethods() you may have been surprised. You may get methods that…
Read More » -
Common gotchas in Java
Overview Java is a minimalist language with deliberately less features than other languages, never the less it has edge cases…
Read More » -
Functional Programming with Java 8 Lambda Expressions – Monads
What is a monad?: A monad is a design pattern concept used in mostly functional programming languages like lisp or…
Read More » -
Detecting (write) failures when using memory mapped files in Java
Memory mapped files are a good and often overlooked tool. I won’t go into the details here on how they…
Read More »