-
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 » -
Enterprise Java
JPA 2.1 Entity Graph – Part 2: Define lazy/eager loading at runtime
This is my second post on JPA 2.1 Entity Graphs. The first post described the usage of named entity graphs.…
Read More » -
Core Java
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 » -
Core Java
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 » -
Groovy
Grails tip: refactoring your URLs
On the current project I am working we use a lot of integration tests. For you non-Grails users out there,…
Read More » -
Enterprise Java
Writing Clean Tests – New Considered Harmful
It is pretty hard to figure out a good definition for clean code because everyone of us has our own…
Read More » -
Software Development
Yet Another 10 Common Mistakes Java Developers Make When Writing SQL (You Won’t BELIEVE the Last One)
(Sorry for that click-bait heading. Couldn’t resist!) We’re on a mission. To teach you SQL. But mostly, we want to…
Read More » -
Software Development
The Absolute Basics of Indexing Data
Ever wondered how a search engine works? In this post I would like to show you a high level view…
Read More » -
Software Development
What Is Special About This? Significant Terms in Elasticseach
I have been using Elasticsearch a few times now for doing analytics of twitter data for conferences. Popular hashtags and…
Read More »