Core Java
-
Why can’t I turn off the Garbage Collector?
Let’s start with a quick rewind to the early days of my career as a Java developer. I wanted to…
Read More » -
Should you trust the default settings in JVM?
JVMs are considered smart nowadays. Not much configuration is expected – just set the maximum heap to use in the…
Read More » -
Java EE 7 Community Survey Results!
Work on Java EE 7 presses on under JSR 342. Things are shaping up nicely and Java EE 7 is…
Read More » -
Increasing heap size – beware of the Cobra Effect
The term ‘Cobra effect’ stems from an anecdote set at the time of British rule of colonial India. The British…
Read More » -
How to Create Extensible Java Applications
Many applications benefit from being open to extension. This post describes two ways to implement such extensibility in Java. Extensible…
Read More » -
Of Hacking Enums and Modifying ‘final static’ Fields
In this newsletter, originally published in The Java Specialists’ Newsletter Issue 161 we examine how it is possible to create…
Read More » -
Do you get Just-in-time compilation?
Remember the last time when you were laughed at by C-developers? That the Java is so slooooow that they would…
Read More » -
Decorate with decorator design pattern
Decorator pattern is one of the widely used structural patterns. This pattern dynamically changes the functionality of an object at…
Read More » -
Changes to String.substring in Java 7
It is common knowledge that Java optimizes the substring operation for the case where you generate a lot of substrings…
Read More »