Lets say you’re in the debugging session and you would like to return some specific result from the method in your IDE. Usually I was using Variable window in order to achieve this. However there’s a way simpler approach available … Continue reading →

Jigsaw and Java 9 – good introduction into Jigsaw Java multi-threading: volatile variables, happens-before relationship, and memory consistency – perfectly simple and good explanation on how volatile work. Usually candidates do not have full understanding on why volatile keyword is … Continue reading →

How do PreparedStatements work in MySQL – nice introduction into things I’ve never thought of. WrapAround pattern – good description of the useful pattern. It’s fun to see something similar in the codebase of your project and then to find … Continue reading →