This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to create singleton in clustered environment?

Siva Krishna
Posts: 5
IBM DB2 Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have a question on Singleton object. When a singleton object is created it is specific to JVM.

My question is: How can we achieve this in clustered environment. Say we have 3 servers all running the same code. Now each server contains a singleton object, is it possible to create a single object across all the servers.

I'm using Weblogic 8.1, is there any way that I can set an object as singleton, across weblogic cluster?

Siva Krishna. K.
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic