Hi, I am trying to implement protobuf for a REST Jersey application. Currently, we use XML and JSON serialization provided by the Jersey framework. So, the only thing we need to do is set the correct mime- type.
As far as my knowledge goes, the only way to be able to accomodate all three types would be to write MessageBodyReader/Writer that translate protobuf to XML and JSON and vice versa. This seems redundant to me since the Jersey framework already does XML and JSON serialization automatically. Is there a better way of achieving this? Also, we already have an object model defined in Java and would like to continue using the same model in the rest of the application. Is it possible to retain this model and not use the auto-generated entities for passing objects back and forth from the application? Thanks, Meghana. -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com. To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.