title: RESTful Webservices return types
body: <p>I am new to webservices in Java. and I am writing web services using <em>JAX-RS</em> implementation <em>Jersey</em> .</p>
  
  <p>I'd like to know:</p>
  
  <ul>
  <li><p>Which return types are  possible for web service methods?</p></li>
  <li><p>As far as I know you can't use primitive types as return type for web service method.. why so?</p></li>
  </ul>