There is very good post published on Sun website by author Joshua Fox. Please go through this.
below are some of them scenario when your Singleton
doesn't behave like.
- Multiple Singletons in Two or More Virtual Machines
- Multiple Singletons Simultaneously Loaded by Different Class Loaders
- Singleton Classes Destroyed by Garbage Collection, then Reloaded
- Purposely Reloaded Singleton Classes
- Copies of a Singleton Object that has Undergone Serialization and Deserialization