Hi,
I have a requirement where I have key value pairs (key, value). There can be lakhs of such key value pairs. I need to decide upon an approach, whether i should store these in a normal text file or a XML file. I will have to read these (key, value) pairs from the file (text or XML or any other file format) form a HashMap and save these values to database.
Which approach is better storing in text file, then again reading through lakhs of records, tokenize on ',' and form the hashmap, or have a XML file with key value nodes and parse it and form hashmap. Also is it better to have properties file and have use
java Properties api.
Thanks