Java
-
Java Method Logging with AOP and Annotations
Sometimes, I want to log (through slf4j and log4j) every execution of a method, seeing what arguments it receives, what…
Read More » -
Spring Batch Tutorial with Spring Boot and Java Configuration
I’ve been working on migrating some batch jobs for Podcastpedia.org to Spring Batch. Before, these jobs were developed in my own…
Read More » -
Hibernate bytecode enhancement
Introduction Now that you know the basics of Hibernate dirty checking, we can dig into enhanced dirty checking mechanisms. While…
Read More » -
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 »