Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Properties

 
Andy Zhu
Ranch Hand
Posts: 145
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to manage user options in a single property file: for both client and server options. Since the instruction tells that there is only one db access at a time, I don't need to consider for multithread issue here because of the usage of the property should be at the init of db server. However, there could be multiple clients, some of which could be launched from the same directory (property file should be in the ./ with the designated name) and thus access to/modify the properties in the same file. Should I consider this issue and how?

Thanks very much.
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Essentially, if it's not mandated by the assignment spec, you shouldn't consider it. Otherwise, you will be spending the next 10 years completing your assignment. So .... what does your spec say?
 
Andy Zhu
Ranch Hand
Posts: 145
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, as I think the program should be consistent between run. So the properties should not be crashed because of multiple clients run from the same directory. Well the consistency is required.

so you don't think this is issue I should consider.?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic