Core Java
-

Getting started with JavaParser: analyzing Java Code programmatically
One of the things I like the most is to parse code and to perform automatic operations on it. For…
Read More » -

Definition of the Trait Pattern in Java
In this article I will present the concept of traits and give you a concrete example of how they can…
Read More » -

The practice of reflection in action
In a previous article, I explained how the most essential agile practice is reflection. In this article, I outline examples…
Read More » -

Simplicity and Value of HotSpot’s -XshowSettings Flag
A handy HotSpot JVM flag (option for the Java launcher java) is the -XshowSettings option. This option is described in…
Read More » -

C code always runs way faster than Java, right? Wrong!
So we all know the prejudice that Java being interpreted is slow and that C being compiled and optimized runs…
Read More » -

Improved Documentation of HotSpot Options in Java 8
One of the small but welcome features introduced with Oracle’s HotSpot implementation of Java 8 is the addition of many…
Read More » -

Creating proxy object using djcproxy
During the last weeks I have shown how to create a proxy object using Java reflection API and cglib. In…
Read More » -

Beware Of findFirst() And findAny()
After filtering a Java 8 Stream it is common to use findFirst() or findAny() to get the element that survived…
Read More » -

Creating a proxy object using cglib
In the previous post I was talking about the standard Java based proxy objects. These can be used when you…
Read More »
