Core Java
-
Typical Mistakes in Java Code
This page contains most typical mistakes I see in the Java code of people working with me. Static analysis (we’re…
Read More » -
Memory leaks – measuring frequency and severity
This post is part of our open culture – we continue sharing insights from our day-to-day work. This time we…
Read More » -
Garbage Collectors – Serial vs. Parallel vs. CMS vs. G1 (and what’s new in Java 8)
The 4 Java Garbage Collectors – How the Wrong Choice Dramatically Impacts Performance The year is 2014 and there are…
Read More » -
Creating an object stream from a JDBC ResultSet
The introduction of features Stream API and Lambda in Java 8 enables us to make an elegant conversion from a…
Read More » -
Objects Should Be Immutable
In object-oriented programming, an object is immutable if its state can’t be modified after it is created. In Java, a…
Read More » -
JUnit in a Nutshell: Test Runners
The fourth chapter of my multi-part tutorial about JUnit testing essentials explains the purpose of the tool’s exchangable test runners…
Read More » -
Java Concurrency Tutorial – Locking: Intrinsic locks
In previous posts we reviewed some of the main risks of sharing data between different threads (like atomicity and visibility)…
Read More » -
jUnit: Rules
Rules add special handling around tests, test cases or test suites. They can do additional validations common for all tests…
Read More » -
Why you should control Visibility of Class and Interface in Java
One of the important aspects of software development is maintenance, and it’s proven by experience that a piece of software…
Read More »