-
Core Java
Do not unit test bugs
Before getting to the topic of the title let’s have a simple programming sample. On the programming task I will…
Read More » -
Core Java
Inconsistent operation widen rules in Java
Overview When you perform a unary or binary operation in Java the standard behaviour is to use the widest operand…
Read More » -
Software Development
Introduction to MongoDB Security
Last week at the Paris MUG, I had a quick chat about security and MongoDB, and I have decided to…
Read More » -
Enterprise Java
OSGi Service Test Helper: ServiceCollector
OSGi services come in handy for the development of systems based on loosely coupled components. But loose coupling can make…
Read More » -
Software Development
Pairing Patterns
Pair programming is hard. When most developers start pairing it feels unnatural. After a lifetime of coding alone, headphones on,…
Read More » -
Software Development
Making use of the open sources of WSO2 ESB
When implementing services using the WSO2 stack (or any other open source Java framework) you will sooner or later run…
Read More » -
Core Java
JMH: How to setup and run a JMH benchmark
Health Warning! This post describes how to setup and run a simple JMH benchmark. Micro benchmarks are notoriously difficult to get…
Read More » -
Desktop Java
Storing months of historical metrics from Hystrix in Graphite
One of the killer-features of Hystrix is a low-latency, data-intensive and beautiful dashboard: …
Read More » -
Enterprise Java
How to fix optimistic locking race conditions with pessimistic locking
Recap In my previous post, I explained the benefits of using explicit optimistic locking. As we then discovered, there’s a…
Read More »