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 



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: