• Post Reply Bookmark Topic Watch Topic
  • New Topic

property file

 
pramod karnani
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

like denny 's dvd project should we create property file and get saved configuration parameters as default ?

so that next time user connect, we can offer the same configuration parameters as a default.



 
satishkumar janakiraman
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most of the requirements indicate that the configuration must be persistent between runs of the program. So it is one of the must conditions to follow.
You have to provide a default configuration while starting up your application for the first time. User is allowed to change the configuration and the changed configuration should be saved in either Properties file or other alternatives.
The latest configuration information should be retrieved in subsequent start ups

You may consider other options instead of Properties files. So it is not mandatory that you should use Properties file.


sat
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
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!