<?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: JAX-RS + Protobufs</title>
	<atom:link href="http://www.subbu.org/blog/2008/12/jax-rs-protobufs/feed" rel="self" type="application/rss+xml" />
	<link>http://www.subbu.org/blog/2008/12/jax-rs-protobufs</link>
	<description></description>
	<lastBuildDate>Wed, 08 Feb 2012 05:16:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Is Google Protocol Buffers RESTful? &#171; Bill the Plumber</title>
		<link>http://www.subbu.org/blog/2008/12/jax-rs-protobufs/comment-page-1#comment-97806</link>
		<dc:creator>Is Google Protocol Buffers RESTful? &#171; Bill the Plumber</dc:creator>
		<pubDate>Mon, 25 Oct 2010 15:32:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.subbu.org/?p=781#comment-97806</guid>
		<description>[...] of Goggle Protocol Buffers within a RESTful architecture: Ryan&#8217;s, Vinoski&#8217;s, and Subbu&#8217;s. Although I am very late to the discussion, I thought I&#8217;d blog about my opinion on the [...]</description>
		<content:encoded><![CDATA[<p>[...] of Goggle Protocol Buffers within a RESTful architecture: Ryan&#8217;s, Vinoski&#8217;s, and Subbu&#8217;s. Although I am very late to the discussion, I thought I&#8217;d blog about my opinion on the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DamnHandy &#187; Protocol Buffers are not very &#8220;RESTish&#8221;.</title>
		<link>http://www.subbu.org/blog/2008/12/jax-rs-protobufs/comment-page-1#comment-69281</link>
		<dc:creator>DamnHandy &#187; Protocol Buffers are not very &#8220;RESTish&#8221;.</dc:creator>
		<pubDate>Sun, 09 May 2010 15:26:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.subbu.org/?p=781#comment-69281</guid>
		<description>[...] Allamaraju has pointed out that the protobuf media type doesn&#8217;t doesn&#8217;t convey enough information as to indicate what message type is in the protobuf representation. Protobuf doesn&#8217;t have an [...]</description>
		<content:encoded><![CDATA[<p>[...] Allamaraju has pointed out that the protobuf media type doesn&#8217;t doesn&#8217;t convey enough information as to indicate what message type is in the protobuf representation. Protobuf doesn&#8217;t have an [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: subbu</title>
		<link>http://www.subbu.org/blog/2008/12/jax-rs-protobufs/comment-page-1#comment-15393</link>
		<dc:creator>subbu</dc:creator>
		<pubDate>Wed, 31 Dec 2008 18:20:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.subbu.org/?p=781#comment-15393</guid>
		<description>@Sam: If this approach is needed, I would go for a new custom media type for each resource - otherwise the response becomes opaque and can open security holes. As far as a benchmark is concerned, since protobufs provide more efficient (de)serialization over generic parsers, using a custom XML parser may provide for a better comparison.</description>
		<content:encoded><![CDATA[<p>@Sam: If this approach is needed, I would go for a new custom media type for each resource &#8211; otherwise the response becomes opaque and can open security holes. As far as a benchmark is concerned, since protobufs provide more efficient (de)serialization over generic parsers, using a custom XML parser may provide for a better comparison.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Pullara</title>
		<link>http://www.subbu.org/blog/2008/12/jax-rs-protobufs/comment-page-1#comment-15350</link>
		<dc:creator>Sam Pullara</dc:creator>
		<pubDate>Wed, 31 Dec 2008 08:38:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.subbu.org/?p=781#comment-15350</guid>
		<description>Clearly you would have to make the .proto files available to the clients in some fashion.  My guess is that you could get them into the WADL file that describes the REST services but I haven&#039;t looked closely at it.  As for *requiring* protocol buffers, it is very easy in JAX-RS to offer more than one media-type for coming and going for any particular call and it will do the discrimination for you based on Content-Type and Accept headers.  As for actual performance when you stick this inside an HTTP envelope it is hard to say as I don&#039;t have a compelling benchmark to run to compare them.  Maybe I will transfer 100 Yahoo BOSS search results over it or something and compare the performance to JSON and XML with and without gzip... would that be an interesting test?

Sam</description>
		<content:encoded><![CDATA[<p>Clearly you would have to make the .proto files available to the clients in some fashion.  My guess is that you could get them into the WADL file that describes the REST services but I haven&#8217;t looked closely at it.  As for *requiring* protocol buffers, it is very easy in JAX-RS to offer more than one media-type for coming and going for any particular call and it will do the discrimination for you based on Content-Type and Accept headers.  As for actual performance when you stick this inside an HTTP envelope it is hard to say as I don&#8217;t have a compelling benchmark to run to compare them.  Maybe I will transfer 100 Yahoo BOSS search results over it or something and compare the performance to JSON and XML with and without gzip&#8230; would that be an interesting test?</p>
<p>Sam</p>
]]></content:encoded>
	</item>
</channel>
</rss>

