Combining Google proto buffers with Jersey/JAX-RS
问题 Currently I have a RESTful web service with endpoints that are exposed via Jersey/JAX-RS: @Path("/widgets") public class WidgetResource { @GET List<Widget> getAllWidgets() { // gets Widgets somehow } @POST Widget save(Widget w) { // Save widget and return it } } I use Jackson for serializing/deserializing my POJOs into JSON, and my service both responds to and sends back my POJOs as application/json . I am now looking to possibly use Google protocol buffers (or an equivalent technology) to