Where collections are used in java web application development?
<ol>
<li>I want know where <strong>Collections</strong> (e.g. array lists)are is useful in real time web application development. I already know the properties of an array list, like duplicates allowed,insertion order is preserved etc.</li>
<li>Where the <code>sort</code> method is useful(e.g. <code>collections.sort()</code>). We use sql queries to sort the data in ascending/descending order.</li>
<li>How we realized that thread safety is required/not required.</li>
</ol>