Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

What is the behaviour of Singleton class in weblogic server Cluster Environment

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
In my project there are lot of modules. Each module has their own configuration data. I want maintain this configuration throw singleton class. Upto now there is no proble. Problem is when i am using Cluster. So what is the behaviour of Singleton in cluster environment. Is the Singleton data is synchronized in all servers in cluster.
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You cannot have a guaranteed singleton behavior on a network cluster. However if your data is read-only then you need not worry (though you may end up with multitons)
 
sharp shooter, and author
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you do want configuration data available consistently across the cluster, you could place it into the WebLogic JNDI tree and set it up to be clusterable.
Moving this to the BEA/WebLogic forum...
Simon
 
Venkateswara Rao
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
If i am using JNDI, accessing JNDI is very expencive as per my knowledge and my configuration data is also big. Should i use JNDI to hold these config data or is there any solution. Pls reply as soon as possible.
Thanks and Regards
Venkateswara Rao
    Bookmark Topic Watch Topic
  • New Topic