-
Core Java
Simplifying trading system with Akka
My colleagues are developing a trading system that processes quite heavy stream of incoming transactions. Each transaction covers one Instrument…
Read More » -
Core Java
InterruptedException and interrupting threads explained
If InterruptedException wasn’t checked exception, probably no one would even notice it – which would actually prevent couple of bugs…
Read More » -
Core Java
HashMap performance improvements in Java 8
HashMap<K, V> is fast, versatile and ubiquitous data structure in every Java program. First some basics. As you probably know,…
Read More » -
Software Development
Automated bug finding with git bisect and mvn test
Do you know the feeling when you discover a bug in a functionality that was working couple of weeks (or…
Read More » -
Core Java
Simplifying ReadWriteLock with Java 8 and lambdas
Considering legacy Java code, no matter where you look, Java 8 with lambda expressions can definitely improve quality and readability.…
Read More » -
Enterprise Java
Custom Spring namespaces made easier with JAXB
First of all, let me tell this out loud: Spring is no longer XML-heavy. As a matter of fact you…
Read More » -
Scala
Three flavours of request-response pattern in Akka
Imagine a simple Akka actor system consisting of two parties: MonitoringActor and NetworkActor. Whenever someone (client) sends CheckHealth to the…
Read More » -
Enterprise Java
Turning Twitter4J into RxJava’s Observable
aTwitter4J is a Java wrapper around Twitter API. While Twitter supports simple request-response interactions in this article we will explore…
Read More » -
Enterprise Java
Proxies done right with Guava’s AbstractInvocationHandler
Not too often but sometimes we are forced to write custom dynamic proxy class using java.lang.reflect.Proxy. There is really no…
Read More »