javaee / jersey

This is no longer the active Jersey repository. Please see the README.md
http://jersey.github.io
Other
2.87k stars 2.36k forks source link

Support Google Protocol Buffers #2176

Open glassfishrobot opened 11 years ago

glassfishrobot commented 11 years ago

Google Protocol Buffers (GPB, https://developers.google.com/protocol-buffers/)::)

Protocol buffers are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data - think XML, but smaller, faster, and simpler. You define how you want your data to be structured once, then you can use special generated source code to easily write and read your structured data to and from a variety of data streams and using a variety of languages - Java, C++, or Python.

Jersey could provide media (extension) module to support BPB.

glassfishrobot commented 11 years ago

Reported by @shamoh

glassfishrobot commented 11 years ago

@shamoh said: Inspiration:

glassfishrobot commented 10 years ago

apakulov said: Here is my implementation of this functionality: https://github.com/apakulov/jersey-media-protobuf It could be easily integrated into any Jersey 2.x project.

glassfishrobot commented 10 years ago

icode said: Here is my implementation of jersey 2.x, but not have client and test unit. https://github.com/intelligentcode/ameba/tree/master/src/main/java/ameba/message/internal/protobuf

use protostuff,not need GPB template. Test for me , thanks very much

glassfishrobot commented 10 years ago

michalgajdos said: Can you create a pull-request (see [1] and [2]) from your change? Thanks.

[1] https://github.com/jersey/jersey [2] https://jersey.java.net/scm.html#/Submitting_Patches_and_Contribute_Code

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA JERSEY-1904