Java
-

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 » -

Using Builder Pattern in JUnit tests
This is not intended to be a heavily technical post. The goal of this post is to give you some…
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 » -

Getting started with Apache Camel
In a previous blog-post we got to know about enterprise integration patterns (EIPs). Now in this post we will look…
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 » -

Dynamic hot-swap environment inside Java with atomic updates
One could argue that the above title can be shortened as OSGi, and I want to discard that thought process…
Read More »



