Java
-
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 » -
Lessons learned: ActiveMQ, Apache Camel and connection pooling
Every once in a while, I run into an interesting problem related to connections and pooling with ActiveMQ, and today…
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 » -
Developing Java EE applications with Maven and WebLogic 12c
The WebLogic Server 12c has very nice support for Maven now. The doc for this is kinda hidden though, so…
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 »