title: JAXB Marshalling & Unmarshalling
body: <p>I am trying to study how the REST service approach works using Jersey.</p>
  
  <p>I have come up with 2 options when creating and accessing a REST service.
  I have 6 parameters which are all string</p>
  
  <ol>
  <li>Pass the data as a long comma separated string and at server side split it.</li>
  <li>Use JAXB and do Marshalling and Unmarshalling.</li>
  </ol>
  
  <p>I can understand that 1st option will be the fastest but does anyone knows how much fast it will be than the 2nd option and is it a safe and efficient way to do this.</p>
  
  <ul>
  <li>It will be nice if someone can mention any more options that are possible..</li>
  </ul>
  
  <p>Thanks</p>