Feeds:
Posts
Comments

Archive for August, 2008

Update after some comments: this post is not a discussion whether to use Singleton or not. It’s not a discussion on why Singleton might be an anti-pattern. It’s just an example on an alternative implementation of Singleton in Java. Just that.
There are two classic ways to implement Singleton pattern in Java: public final instance field [...]

Read Full Post »