title: Best way to send an ArrayList<String[]> over TCP in Java?
body: <p>I'm writing a client/server application in Java and I'm using TCP to transfer data which I'm storing in an ArrayList (i.e. An ArrayList of arrays of Strings).</p>
  
  <p>What is the best way to transfer that data from one to the other? Should I make one long string and use a PrintWriter's println() or is there a better way?</p>
  
  <p>Thanks very much!</p>