Core Java
-
Let’s turn packages into a module system!
Many projects are divided into modules/subprojects using the build system (Maven, Gradle, SBT …); and writing modular code is generally…
Read More » -
Signing Java Code
In a previous post, we discussed how to secure mobile code. One of the measures mentioned was signing code. This…
Read More » -
Investigating Deadlocks – Part 5: Using Explicit Locking
In my last blog I looked at fixing my broken, deadlocking balance transfer sample code using both Java’s traditional synchronized keyword…
Read More » -
Deep diving into Cloning
Before we proceed with the cloning concept let’s refresh our basics with the object creation concept. When the objects are…
Read More » -
Java2Days 2012: Java EE
The Java2Days conference is the major event in Eastern Europe to present the latest trends in Java development. This year,…
Read More » -
Investigating Deadlocks – Part 4: Fixing the Code
In the last in this short series of blogs in which I’ve been talking about analysing deadlocks, I’m going to…
Read More » -
By your Command – Command design pattern
Command design pattern is one of the widely known design pattern and it falls under the Behavioral Design Pattern (part…
Read More » -
Investigating Deadlocks – Part 3
In my previous two blogs in this series, part 1 and part 2, I’ve demonstrated how to create a piece…
Read More » -
Prototype Design Pattern: Creating another dolly
It’s really a time consuming process to create objects and also an expensive affair. So we are now on a…
Read More »