hi, i want to store some info. in a collection and then later on display it in jsp. The data in the collection does not change . Should i be using ArrayList or LikkenHashMap for faster access of data.
ArrayList is faster if all you're going to do is put data in, then iterate over all of it in the same order. If you need to do any looking-up by key, though, any Map (including LinkedHashMap) will be much faster.