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 » -

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 » -

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 » -

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 » -

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 » -

Maven Tip: All about executable jars
Maven Tip: All about executable jars An executable jar is an extremely useful artefact when it comes to distributing your…
Read More » -

EE JSP: Generating Dynamic Content with Custom Tag Libraries
When developing View layer in a web application, you want to try not to duplicate content in JSP files as…
Read More » -

Top 5 Use-Cases For Nested Types
There has been an interesting discussion on reddit, the other day Static Inner Classes. When is it too much? First,…
Read More » -

Functional Factory Pattern
Do you want a REALLY quick way to make a Factory object? Then lambdas or other function-passing is what you…
Read More »



