What technology to manage evolutive configurations on 1-tier software

General Tech Technology & Software 2 years ago

0 1 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Technology & Software related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (1)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

 

 

I have a Java application software that evolves. It uses a configuration file at launch to load configuration values. As the software evolves, the configuration evolves too. Some keys are no longer used, new keys are added, eventually some keys are renamed, some values have different type.

The question is, what it the best technology to use for configuration management in my case?

The requirements are:

  • store and load configuration information to and from one file,
  • manage complex values (such as maps),
  • manage missing values,
  • manage evolution in value types,
  • manage key renaming,
  • manage no longer used key/value pairs.

So far, YAML did not meet all listed requirements.

Could XML with JAXB marshaling and unmarshaling meet the requirements or will I encounter problems there too?

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.