Best place to save Java configuration information
<p>I am writing a library which uses some configurations. These configuration will not change frequently but will possible change in the future. Therefore I don't want to hard code them in the code.</p>

<p>What is the best way of doing this for a Java library? One possible solution is to inject it and hard code them in a DI configuration file I assume. But this requires code change as well.</p>

<p>What is the most typical way of doing this?</p>

<p>Many thanks</p>
