On design patterns: When should I use the singleton?
class Singleton
{
private static Singleton instance;
private Singleton() {}
You could find the singleton pattern useful if you have a resource that costs a lot to get initialized, and that you use several times, such as an object context when you use an ORM or a connection of some sort.
Obviously you must pay attention that keeping that thing alive does not cost you more than recreating it every time.