Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Singleton and distributed app  RSS feed

 
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
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!