title: How does a java client access an integer array from a java RESTful web service
body: <p>I am reframing my own question at : <a href="https://stackoverflow.com/questions/4785920/returning-a-primitive-array-from-a-restful-web-service-method">Returning a primitive array through REST</a></p>
  
  <p>I am using Jersey, and I am unable to understand what codes/annotations should be added at both server and client ends to return an "array" of primitives (strings, integers, anything). I can do this very easily in SOAP...isnt there some easy way out in REST ? I got some complex ways of doing this here :
  <a href="https://stackoverflow.com/questions/2629544/how-to-serialize-java-primitives-using-jersey-rest">how-to-serialize-java-primitives-using-jersey-</a></p>
  
  <p>A piece of code (both server and client) would be appreciated a lot !</p>