title: Arrays are more serializable than ArrayList?
body: <p>Sometime back our architect gave this funda to me and I couldn't talk to him more to get the details at the time, but I couldn't understand how arrays are more serializable/better performant over <code>ArrayList</code>s.</p>
  
  <p><strong>Update</strong>: This is in the web services code if it is important and it can be that he might mean performance instead of serializability.</p>
  
  <p><strong>Update</strong>: There is no problem with XML serialization for <code>ArrayList</code>s.</p>
  
  <pre><code>  &lt;sample-array-list&gt;reddy1&lt;/sample-array-list&gt;
    &lt;sample-array-list&gt;reddy2&lt;/sample-array-list&gt;
    &lt;sample-array-list&gt;reddy3&lt;/sample-array-list&gt;
  </code></pre>
  
  <p>Could there be a problem in a distributed application?</p>