Hi,
to store some constants,which one is a better way?Whether storing it in a property file and reading it through Properties() or storing it as some constants in a java file.I feel that reading a property file everytime will be having some impact on the performance.But at the same time,when we need to add new entries,if we store it in a class file,we need to change the source code.So which one is better?
to store some constants,which one is a better way?Whether storing it in a property file and reading it through Properties() or storing it as some constants in a java file.I feel that reading a property file everytime will be having some impact on the performance.But at the same time,when we need to add new entries,if we store it in a class file,we need to change the source code.So which one is better?