title: netbeans restful web service
body: <p>I have been experimenting with Restful web service using jersey in netbeans. I have created a web service and registered it the Netbeans web service, I was able to drag n drop into my client code (all works good), but the problem is the auto generated code does not include a way of working with object </p>
  
  <blockquote>
    <p>RestResponse.getDataAsObject(...)</p>
  </blockquote>
  
  <p>instead of </p>
  
  <blockquote>
    <p>RestResponse.getDataAsString(...)</p>
  </blockquote>
  
  <p>as compared to the generated Facebook code which includes a Facebook library for working with </p>
  
  <blockquote>
    <p>RestResponse.getDataAsObject(...) </p>
  </blockquote>