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

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

Spring Environment is for initialization code only
Since version 3.1, the Spring framework offers an abstraction towards several different sources through which you can easily configure your…
Read More » -

Java8 Multi-threading ForkJoinPool: Dealing with exceptions
One of the main motivations behind the introduction of Java8 lambdas was the ability to be able to use multicores…
Read More »




