-
Core Java
ListenableFuture in Guava
ListenableFuture in Guava is an attempt to define consistent API for Future objects to register completion callbacks. With the ability…
Read More » -
Enterprise Java
Implementing custom Future
Last time we learned the principles behind java.util.concurrent.Future<T>. We also discovered that Future<T> is typically returned by libraries or frameworks.…
Read More » -
Core Java
java.util.concurrent.Future basics
Hereby I am starting a series of articles about future concept in programming languages (also known as promises or delays)…
Read More » -
Software Development
Breaking build is not a crime
For years I’ve been taught that breaking continuous integration build is something that should be avoided under all circumstances. Let…
Read More » -
Enterprise Java
Don’t rely on unit tests alone
When you are building a complex system, barely testing components in isolation is not enough. It’s crucial, but not enough.…
Read More » -
Core Java
How aggressive is method inlining in JVM?
Ctrl + Alt + M is used in IntelliJ IDEA to extract method. Ctrl + Alt + M. It’s as…
Read More » -
Enterprise Java
Spring Data JDBC generic DAO implementation – most lightweight ORM ever
I am thrilled to announce first version of my Spring Data JDBC repository project. The purpose of this open source…
Read More » -
Scala
Probability distribution for programmers
This is one of these very simple programming puzzles I came across recently: given a function returning random integers from…
Read More » -
Enterprise Java
@Cacheable overhead in Spring
Spring 3.1 introduced great caching abstraction layer. Finally we can abandon all home-grown aspects, decorators and code polluting our business…
Read More »