Java
-
Analysing the performance degradation/improvements of a Java EE application with interceptors
When you are developing a Java EE application with certain performance requirements, you have to verify that these requirements are…
Read More » -
Named parameters in Java
Creating a method that has many parameters is a major sin. Whenever there is need to create such a method,…
Read More » -
Java Numeric Formatting
I can think of numerous times when I have seen others write unnecessary Java code and I have written unnecessary…
Read More » -
Java Concurrency Tutorial – Thread-safe designs
After reviewing what the main risks are when dealing with concurrent programs (like atomicity or visibility), we will go through…
Read More » -
Monitoring and Filtering Application Log to Mail with log4j
In today’s post I’m going to show you how to filter log statements into a warning email. This came out…
Read More » -
Parameterized Test Runner in JUnit
We all have written unit tests where in a single test tests for different possible input-output combinations. Lets look how…
Read More » -
The anatomy of Hibernate dirty checking
Introduction The persistence context enqueues entity state transitions that get translated to database statements upon flushing. For managed entities, Hibernate…
Read More » -
Debugging OpenJDK
Sometimes debugging Java code is not enough and we need to step over the native part of Java. I spent…
Read More » -
JPA Tutorial – Setting Up JPA in a Java SE Environment
JPA stands for Java Persistence API, which basically is a specification that describes a way to persist data into a persistent storage,…
Read More »