Core Java
-
Beauty and strangeness of generics
Recently, I was preparing for my Oracle Certified Professional, Java SE 7 Programmer exam and I happened to encounter some rather…
Read More » -
Listing and filtering directory contents in NIO.2
There hasn’t been much happening in the area of listing directory contents until the release of Java 7. But since…
Read More » -
Java 8 Optional: How to Use it
Java 8 comes with a new Optional type, similar to what is available in other languages. This post will go…
Read More » -
Java 8 Friday: Most Internal DSLs are Outdated
At Data Geekery, we love Java. And as we’re really into jOOQ’s fluent API and query DSL, we’re absolutely thrilled…
Read More » -
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 » -
Java 8 StampedLocks vs. ReadWriteLocks and Synchronized
Synchronized sections are kind of like visiting your parents-in-law. You want to be there as little as possible. When it…
Read More » -
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 » -
Law of Demeter in Java – Principle of least Knowledge – Real life Example
Law of Demeter also known as principle of least knowledge is a coding principle, which says that a module should…
Read More »