Java
-
How to customize Hibernate dirty checking mechanism
Introduction In my previous article I described the Hibernate automatic dirty checking mechanism. While you should always prefer it, there…
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 » -
EJB 3.x : Lifecycle and Concurrency models (part 2)
This is the second post of the two part series. The first part covered the life cycle and the concurrency behavior…
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 » -
OptaPlanner – Vehicle routing with real road distances
In the real world, vehicles in a Vehicle Routing Problem (VRP) have to follow the roads: they can’t travel in…
Read More » -
Really Dynamic Declarative Components
In this short post I am going to focus on ADF dynamic declarative components. I mean a well known ADF…
Read More »