response « jaxb « Java Enterprise Q&A

1. Jersey can produce List but cannot Response.ok(List).build()?

Jersey 1.6 can produce:

public class StockResource {
    public List<Stock> get() {
        Stock stock ...

2. Restful Web Service Resource Context Question and Response Question

i have developed a simple restful web services. Root Resource Class:

public class CustOrderContainerResource {

  //<editor-fold defaultstate="collapsed" desc="Instance Variable">
  private UriInfo myUriInfo;

  private ResourceContext ...

3. Trouble deserializing JAXB JSON response via Jersey API client

My Jersey RESTful Service has no problem creating both XML and JSON. Client has no trouble dealing with the JAXB generated XML but cannot parse the JSON version of the ...