Core Java
-
Java File I/O Basics
Java 7 introduced the java.nio.file package to provide comprehensive support for file I/O. Besides a lot of other functionality this…
Read More » -
Double Checked Locking on Singleton Class in Java
Singleton class is quite common among Java developers, but it poses many challenges to junior developers. One of the key…
Read More » -
Parsing a file with Stream API in Java 8
Streams are everywhere in Java 8. Just look around and for sure you will find them. It also applies to…
Read More » -
Prefix and Suffix Matches in Solr
Search engines are all about looking up strings. The user enters a query term that is then retrieved from the…
Read More » -
Spice up your test code with custom assertions
Inspired by the @tkaczanowski talk during GeeCON conference I decided to have a closer look at custom assertions with AssertJ…
Read More » -
Java 8 Friday: Better Exceptions
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 » -
Why use SerialVersionUID inside Serializable class in Java
Serialization and SerialVersionUID is always remains a puzzle for many Java developers. I often see questions like what is this…
Read More » -
See Your Solr Cache Sizes: Eclipse Memory Analyzer
Solr uses different caches to prevent too much IO access and calculations during requests. When indexing doesn’t happen too frequently…
Read More » -
Writing Clean Tests – Beware of Magic
It is pretty hard to figure out a good definition for clean code because everyone of us has our own…
Read More »