-
Core Java
Local variables inside a loop and performance
Overview Sometimes a question comes up about how much work allocating a new local variable takes. My feeling has always…
Read More » -
Core Java
Weak, Weaker, Weakest, Harnessing The Garbage Collector With Specialist References
When and when not to use specialist references in Java Weak, Soft and Phantom references are dangerous and powerful. If…
Read More » -
Agile
Agile Software Developer Terminology for New Programmers
This is a post for new developers, young, inexperienced or old and retraining into information technology. Recently, I had a…
Read More » -
Core Java
Using Apache Commons Functor functional interfaces with Java 8 lambdas
Apache Commons Functor (hereon [functor]) is an Apache Commons component that provides a functional programming API and several patterns implemented…
Read More » -
Core Java
Ensuring the order of execution for tasks
Sometimes it is necessary to impose certain order on the tasks in a threadpool. Issue 206 of the JavaSpecialists newsletter…
Read More » -
Core Java
Can synchronization be optimised away?
Overview There is a common misconception that because the JIT is smart and synchronization can be eliminated for an object…
Read More » -
Enterprise Java
JAXB – Representing Null and Empty Collections
Demo Code The following demo code will be used for all the different versions of the Java model. It simply…
Read More » -
Groovy
A simple Groovy issue tracker using file system
It will be a chaos not to track bugs and feature requests when you developing software. Having a simple issue…
Read More » -
Core Java
Under the JVM hood – Classloaders
Classloaders are a low level and often ignored aspect of the Java language among many developers. At ZeroTurnaround , our…
Read More »