On design patterns: When should I use the singleton?
class Singleton { private static Singleton instance; private Singleton() {}
You should use a Singleton when there should only be one instance of an object. However, Misko Hevery has some thoughts on why Singletons are bad!