Core Java
-
XSL Transformation in Java: An Easy Way
XSL transformation (XSLT) is a powerful mechanism for converting one XML document into another. However, in Java, XML manipulations are…
Read More » -
A JSF List Example
This is an example list application built using JSF 2.0 (JavaServer Faces). The app is a list of todo (to…
Read More » -
Top 10 Easy Performance Optimisations in Java
There has been a lot of hype about the buzzword “web scale“, and people are going through lengths of reorganising…
Read More » -
How JVMTI tagging can affect GC pauses
This post is analyzing why and how Plumbr Agents extended the length of GC pauses on certain occasions. Troubleshooting the underlying problem…
Read More » -
Do not unit test bugs
Before getting to the topic of the title let’s have a simple programming sample. On the programming task I will…
Read More » -
Inconsistent operation widen rules in Java
Overview When you perform a unary or binary operation in Java the standard behaviour is to use the widest operand…
Read More » -
JMH: How to setup and run a JMH benchmark
Health Warning! This post describes how to setup and run a simple JMH benchmark. Micro benchmarks are notoriously difficult to get…
Read More » -
Top 5 Use-Cases For Nested Types
There has been an interesting discussion on reddit, the other day Static Inner Classes. When is it too much? First,…
Read More » -
Functional Factory Pattern
Do you want a REALLY quick way to make a Factory object? Then lambdas or other function-passing is what you…
Read More »