Core Java
-

Quasar and Akka – a Comparison
The actor model is a design pattern for fault-tolerant and highly scalable systems. Actors are independent worker-modules that communicate with…
Read More » -

What is Garbage Collection?
The following is an example from our Garbage Collection Handbook which will be published in the forthcoming weeks. In the meanwhile, take…
Read More » -

Constructors Must Be Code-Free
How much work should be done within a constructor? It seems reasonable to do some computations inside a constructor and…
Read More » -

How to Access a Method’s Result Value From the Finally Block
While the JVM is a stack-based machine, the Java language doesn’t really offer you any way to access that Stack.…
Read More » -

Immutable Infrastructure, hotdeploys, and the JVM
Do you deploy and undeploy your JVM-based applications (regardless of JVM container/no-container) in production? ie, when you have new versions…
Read More » -

Performance Comparison of Multithreading in Java
There are different techniques for multithreading in Java. One can parallelize a piece of code in Java either with synchronize…
Read More » -

Implementing Filter and Bakery Locks in Java
In order to understand how locks work, implementing custom locks is a good way. This post will show how to…
Read More » -

How Java 9 And Project Jigsaw May Break Your Code
Java 9 looms on the horizon and it will come with a completed Project Jigsaw. I didn’t pay much attention…
Read More » -

Build Automation Panel
Last Tuesday, I participated in an online panel on the subject of Build Automation as part of Continuous Discussions (#c9d9),…
Read More »

