What is the best way to manage configuration data

前端 未结 8 1204
时光取名叫无心
时光取名叫无心 2020-12-07 17:18

I am working on a product suite which has 4 products. Right now, all of the configuration data is either in the XML or properties files.This approach is not maintainable as

8条回答
  •  Happy的楠姐
    2020-12-07 17:55

    Environment variables are just about the easiest way to go. Set them as you would any other time, access them w/ System.getenv("...")

提交回复
热议问题