-
Enterprise Java
Mapping enums done right with @Convert in JPA 2.1
If you ever worked with Java enums in JPA you are definitely aware of their limitations and traps. Using enum…
Read More » -
Kotlin
Null safety in Kotlin
Kotlin is a statically typed JVM language developed by Jetbrains. It has some good documentation so today I will focus…
Read More » -
Core Java
Lazy sequences implementation for Java 8
I just published LazySeq library on GitHub – result of my Java 8 experiments recently. I hope you will enjoy…
Read More » -
Core Java
Java 8: CompletableFuture in action
After thoroughly exploring CompletableFuture API in Java 8 we are prepared to write a simplistic web crawler. We solved similar…
Read More » -
Core Java
Java 8: Definitive guide to CompletableFuture
Java 8 is coming so it’s time to study new features. While Java 7 and Java 6 were rather minor…
Read More » -
Enterprise Java
Synchronising Multithreaded Integration Tests revisited
I recently stumbled upon an articleSynchronising Multithreaded Integration Tests on Captain Debug’s Blog. That post emphasizes the problem of designing…
Read More » -
Scala
Lazy sequences in Scala and Clojure
Lazy sequences (also known as streams) are an interesting functional data structure which you might have never heard of. Basically…
Read More » -
Scala
Scala traits implementation and interoperability. Part II: Traits linearization
This is a continuation of Scala traits implementation and interoperability. Part I: Basics. Dreadful diamond problem can be mitigated using…
Read More » -
Enterprise Java
SiftingAppender: logging different threads to different log files
One novel feature of Logback is SiftingAppender (JavaDoc). In short it’s a proxy appender that creates one child appender per…
Read More »