puoi usare un file .ini

http://www.rgagnon.com/javadetails/java-0024.html