<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Using JAX-RS with Protocol Buffers for high-performance REST APIs</title> <atom:link href="http://www.javarants.com/2008/12/27/using-jax-rs-with-protocol-buffers-for-high-performance-rest-apis/feed/" rel="self" type="application/rss+xml" /><link>http://www.javarants.com/2008/12/27/using-jax-rs-with-protocol-buffers-for-high-performance-rest-apis/</link> <description>Rants about Java and other internet technologies by Sam Pullara</description> <lastBuildDate>Wed, 18 Jan 2012 14:14:00 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.2.1</generator> <item><title>By: Prathamesh Mone</title><link>http://www.javarants.com/2008/12/27/using-jax-rs-with-protocol-buffers-for-high-performance-rest-apis/comment-page-1/#comment-1574</link> <dc:creator>Prathamesh Mone</dc:creator> <pubDate>Fri, 16 Dec 2011 08:44:00 +0000</pubDate> <guid
isPermaLink="false">http://www.javarants.com/?p=955#comment-1574</guid> <description>Hi,
I am currently looking at 2.4 version of Google Protocol Buffers and when I use the feature of option optimize_for = LITE_RUNTIME and extensions, it generates classes in different hierarchy and the call to method essage.class.isAssignableFrom(type); returns false.
Regards,
Prathamesh </description> <content:encoded><![CDATA[<p>Hi,</p><p>I am currently looking at 2.4 version of Google Protocol Buffers and when I use the feature of option optimize_for = LITE_RUNTIME and extensions, it generates classes in different hierarchy and the call to method essage.class.isAssignableFrom(type); returns false.</p><p>Regards,<br
/> Prathamesh</p> ]]></content:encoded> </item> <item><title>By: Prathamesh Mone</title><link>http://www.javarants.com/2008/12/27/using-jax-rs-with-protocol-buffers-for-high-performance-rest-apis/comment-page-1/#comment-1573</link> <dc:creator>Prathamesh Mone</dc:creator> <pubDate>Fri, 16 Dec 2011 04:57:00 +0000</pubDate> <guid
isPermaLink="false">http://www.javarants.com/?p=955#comment-1573</guid> <description>exactly which version you changed the file to?</description> <content:encoded><![CDATA[<p>exactly which version you changed the file to?</p> ]]></content:encoded> </item> <item><title>By: Jon</title><link>http://www.javarants.com/2008/12/27/using-jax-rs-with-protocol-buffers-for-high-performance-rest-apis/comment-page-1/#comment-1461</link> <dc:creator>Jon</dc:creator> <pubDate>Tue, 08 Mar 2011 09:47:00 +0000</pubDate> <guid
isPermaLink="false">http://www.javarants.com/?p=955#comment-1461</guid> <description>Instead of searializing to a byte buffer and checking length you can use m.getSerializedSize().</description> <content:encoded><![CDATA[<p>Instead of searializing to a byte buffer and checking length you can use m.getSerializedSize().</p> ]]></content:encoded> </item> <item><title>By: Meghana Viswanath</title><link>http://www.javarants.com/2008/12/27/using-jax-rs-with-protocol-buffers-for-high-performance-rest-apis/comment-page-1/#comment-1348</link> <dc:creator>Meghana Viswanath</dc:creator> <pubDate>Wed, 05 Jan 2011 09:54:00 +0000</pubDate> <guid
isPermaLink="false">http://www.javarants.com/?p=955#comment-1348</guid> <description>Hi Sam,
Nice article. Very helpful.
I have one question though. Is there a straightforward way in which to provide support for both protobuf and xml mime types with the Jersey framework? There is a work around - http://code.google.com/p/protobuf-java-format. But I would like to know if there is an easy, straight forward answer to this.
Thanks,
Meghana.</description> <content:encoded><![CDATA[<p>Hi Sam,</p><p>Nice article. Very helpful.<br
/> I have one question though. Is there a straightforward way in which to provide support for both protobuf and xml mime types with the Jersey framework? There is a work around &#8211; <a
href="http://code.google.com/p/protobuf-java-format" rel="nofollow">http://code.google.com/p/protobuf-java-format</a>. But I would like to know if there is an easy, straight forward answer to this.</p><p>Thanks,<br
/> Meghana.</p> ]]></content:encoded> </item> <item><title>By: Jimm</title><link>http://www.javarants.com/2008/12/27/using-jax-rs-with-protocol-buffers-for-high-performance-rest-apis/comment-page-1/#comment-1303</link> <dc:creator>Jimm</dc:creator> <pubDate>Thu, 14 Oct 2010 15:59:00 +0000</pubDate> <guid
isPermaLink="false">http://www.javarants.com/?p=955#comment-1303</guid> <description>I am unable to download the example code. Can you please fix the link?</description> <content:encoded><![CDATA[<p>I am unable to download the example code. Can you please fix the link?</p> ]]></content:encoded> </item> <item><title>By: WorkRelated</title><link>http://www.javarants.com/2008/12/27/using-jax-rs-with-protocol-buffers-for-high-performance-rest-apis/comment-page-1/#comment-1265</link> <dc:creator>WorkRelated</dc:creator> <pubDate>Thu, 08 Jul 2010 02:48:55 +0000</pubDate> <guid
isPermaLink="false">http://www.javarants.com/?p=955#comment-1265</guid> <description>It seems I need to update to newest jersey jar file. It works now.&lt;br&gt;Thanks</description> <content:encoded><![CDATA[<p>It seems I need to update to newest jersey jar file. It works now.<br
/>Thanks</p> ]]></content:encoded> </item> <item><title>By: spullara</title><link>http://www.javarants.com/2008/12/27/using-jax-rs-with-protocol-buffers-for-high-performance-rest-apis/comment-page-1/#comment-1264</link> <dc:creator>spullara</dc:creator> <pubDate>Wed, 07 Jul 2010 20:38:53 +0000</pubDate> <guid
isPermaLink="false">http://www.javarants.com/?p=955#comment-1264</guid> <description>It looks like the protobuf message reader isn&#039;t being registered in JAX-RS. If it doesn&#039;t scan your classes and you haven&#039;t registered it in an Application class it won&#039;t find it.</description> <content:encoded><![CDATA[<p>It looks like the protobuf message reader isn&#39;t being registered in JAX-RS. If it doesn&#39;t scan your classes and you haven&#39;t registered it in an Application class it won&#39;t find it.</p> ]]></content:encoded> </item> <item><title>By: WorkRelated</title><link>http://www.javarants.com/2008/12/27/using-jax-rs-with-protocol-buffers-for-high-performance-rest-apis/comment-page-1/#comment-1263</link> <dc:creator>WorkRelated</dc:creator> <pubDate>Wed, 07 Jul 2010 19:02:03 +0000</pubDate> <guid
isPermaLink="false">http://www.javarants.com/?p=955#comment-1263</guid> <description>Hi Sam,&lt;br&gt;this is great article.&lt;br&gt;&lt;br&gt;However, I keep getting error like this:&lt;br&gt;&lt;br&gt;SEVERE: A message body reader for Java type, class com.example.tutorial.ProfileRequestProto$ProfileRequest, and MIME media type, application/x-protobuf, was not found&lt;br&gt;&lt;br&gt;I posted in stackoverflow, but it seems it is getting no reply.&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://stackoverflow.com/questions/3190329/protocol-buffers-mime-problem&quot; rel=&quot;nofollow&quot;&gt;http://stackoverflow.com/questions/3190329/prot...&lt;/a&gt;&lt;br&gt;&lt;br&gt;Do you know whats causing this?&lt;br&gt;Any help will be appreciate it.&lt;br&gt;&lt;br&gt;Thanks</description> <content:encoded><![CDATA[<p>Hi Sam,<br
/>this is great article.</p><p>However, I keep getting error like this:</p><p>SEVERE: A message body reader for Java type, class com.example.tutorial.ProfileRequestProto$ProfileRequest, and MIME media type, application/x-protobuf, was not found</p><p>I posted in stackoverflow, but it seems it is getting no reply.</p><p><a
href="http://stackoverflow.com/questions/3190329/protocol-buffers-mime-problem" rel="nofollow">http://stackoverflow.com/questions/3190329/prot&#8230;</a></p><p>Do you know whats causing this?<br
/>Any help will be appreciate it.</p><p>Thanks</p> ]]></content:encoded> </item> <item><title>By: david</title><link>http://www.javarants.com/2008/12/27/using-jax-rs-with-protocol-buffers-for-high-performance-rest-apis/comment-page-1/#comment-1214</link> <dc:creator>david</dc:creator> <pubDate>Thu, 10 Jun 2010 11:47:35 +0000</pubDate> <guid
isPermaLink="false">http://www.javarants.com/?p=955#comment-1214</guid> <description>Hi, Sam and everyone,&lt;br&gt;&lt;br&gt;My windows 7 updated some patches when reboot yesterday. And after reboot, I rerun the test cases. &lt;br&gt;It works. The case failure should be caused by windows 7.&lt;br&gt;&lt;br&gt;Thanks for the wonderful article.&lt;br&gt;Best Regards&lt;br&gt;David</description> <content:encoded><![CDATA[<p>Hi, Sam and everyone,</p><p>My windows 7 updated some patches when reboot yesterday. And after reboot, I rerun the test cases. <br
/>It works. The case failure should be caused by windows 7.</p><p>Thanks for the wonderful article.<br
/>Best Regards<br
/>David</p> ]]></content:encoded> </item> <item><title>By: david</title><link>http://www.javarants.com/2008/12/27/using-jax-rs-with-protocol-buffers-for-high-performance-rest-apis/comment-page-1/#comment-1212</link> <dc:creator>david</dc:creator> <pubDate>Wed, 09 Jun 2010 14:33:23 +0000</pubDate> <guid
isPermaLink="false">http://www.javarants.com/?p=955#comment-1212</guid> <description>Hi, Sam,&lt;br&gt;&lt;br&gt;I&#039;ve downloaded the sample code, and get all test cases passed.  But when I modify a single line in the AddressBookService.java, where I just changed the setName(&quot;Sam&quot;) to setName(&quot;David&quot;), and I modified the name used in Junit testcase too.  But after after name modified, the cases fail, I think the result is cached, or there is bug in java restful service or in somewhere else... My os is Windows 7, jdk 1.6.0_20. Could the cases pass on your machine if something changed?&lt;br&gt;&lt;br&gt;ps, I deleted all old classes, and re compile the sample code after code modification. even I restarted the OS, the cases fail too. But when I change the resource path from &quot;person&quot; to something else like &quot;man&quot;, the cases pass.</description> <content:encoded><![CDATA[<p>Hi, Sam,</p><p>I&#39;ve downloaded the sample code, and get all test cases passed.  But when I modify a single line in the AddressBookService.java, where I just changed the setName(&#8220;Sam&#8221;) to setName(&#8220;David&#8221;), and I modified the name used in Junit testcase too.  But after after name modified, the cases fail, I think the result is cached, or there is bug in java restful service or in somewhere else&#8230; My os is Windows 7, jdk 1.6.0_20. Could the cases pass on your machine if something changed?</p><p>ps, I deleted all old classes, and re compile the sample code after code modification. even I restarted the OS, the cases fail too. But when I change the resource path from &#8220;person&#8221; to something else like &#8220;man&#8221;, the cases pass.</p> ]]></content:encoded> </item> </channel> </rss>
