The Ironism

Drawers


The Crypt


Cloudy


Meta-Meta


The Ironism

The lair of Lars J. Nilsson. Contains random musings on beer, writing and this thing we call life.


July 26th, 2007 1

Singletons… Again!

Perhaps I’m being a bit grumpy today, but this article rubs me the wrong way. It describes the Singleton pattern in Java but contains some problems. And one of the is a pet peeve of mine. The article claims: There can only be one singleton instance per JVM == Plain wrong in every respect. Singletons are good for object pooling [...]

fungrimfungrim