Singleton In Clustered Environment

11 08 2014
  • Singleton is very important and familiar design pattern in java
  • it will work very well in single JVM
  • but in application is using  multiple JVM, how do we achieve single instance for the object of the class?

To Achieve in multiple JVM in clustering environment we can use

  • JMS
  • DB – when we use multiple JVM, if that’s shares common db, we can check through the DB entry.
  • 3rd party tools like Oracle Coherence 







%d bloggers like this: