It will be only one time cost if you are putting them in a property file
and reading the file at the start of your application and initialize all
the parameters as system parameters(System.setProperty)
and then define constants in your code like
public static final String MY_CONST =
But ensure the initialization at start of your application before any
other class is loaded.