Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Singleton and distributed app

 
Derick Potgieter
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Quick Q: I need to store a TreeMap in a singleton which is accessible in my application on distributed machines. Any ideas of how i can accomplish this.

The only way i that i guess is functional and usable in a distributed app as well as taking care of Thread safety issues is using a database?

Ideas welcome?

Rgds
Derick
 
There's a way to do it better - find it. -Edison. A better tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!