Core Java
-
OOP Alternative to Utility Classes
A utility class (aka helper class) is a “structure” that has only static methods and encapsulates no state. StringUtils, IOUtils,…
Read More » -
Mockito 101
Mockito is a mocking framework that lets you write beatiful tests with clean and simple API. It biases toward minimal…
Read More » -
JVM PermGen – where art thou?
This post covers some basics of JVM memory structure and quickly peeks into PermGen to find out where it has disappeared since advent…
Read More » -
Name of the class
In Java every class has a name. Classes are in packages and this lets us programmers work together avoiding name…
Read More » -
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 »