Hi all, I was using HashMap to store the configuration details as name/value pair.This causes lot of objects to be created at runtime as there are lot of name/value pair under different section in the configuration in which each section requires a new hashmap.
Is there any alternative way to store the name/value pair of configuration in a more efficient manner.How good does properties file suit this requirement. Please suggest me in this. Regards, Arjun.
Joined: Feb 28, 2007
Are you talking about Properties class of "java.uti.Properties"? Give little more detail what configuration you put in the HashMap and find Properties a suitable sunbstitute of HashMap.
Thanks and Regards, cmbhatt
Joined: Jan 04, 2007
Hi yes i mean java.util.properties. My HashMap will look like this