<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: RESTEasy MOM: An exercise in JAX-RS RESTful WS design</title>
	<atom:link href="http://bill.burkecentral.com/2008/06/16/resteasy-mom-an-exercise-in-jax-rs-restful-ws-design/feed/" rel="self" type="application/rss+xml" />
	<link>http://bill.burkecentral.com/2008/06/16/resteasy-mom-an-exercise-in-jax-rs-restful-ws-design/</link>
	<description>Software plumbing using middleware wrenches</description>
	<lastBuildDate>Thu, 09 Feb 2012 19:51:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: javamonkey79</title>
		<link>http://bill.burkecentral.com/2008/06/16/resteasy-mom-an-exercise-in-jax-rs-restful-ws-design/#comment-4524</link>
		<dc:creator><![CDATA[javamonkey79]]></dc:creator>
		<pubDate>Mon, 23 Jan 2012 15:53:14 +0000</pubDate>
		<guid isPermaLink="false">http://bill.burkecentral.com/?p=101#comment-4524</guid>
		<description><![CDATA[So if I read you right, it is possible to have only one MBR and MBW instead of one for each class in our DOM? If this is the case, then I wonder why this functionality isn&#039;t provided out of the box?

Restlet does have a JAX-RS implementation for the server side, but not the client side. That being said, I don&#039;t see the point. You don&#039;t get the dynamic path mapping that JAX-RS buys you.]]></description>
		<content:encoded><![CDATA[<p>So if I read you right, it is possible to have only one MBR and MBW instead of one for each class in our DOM? If this is the case, then I wonder why this functionality isn&#8217;t provided out of the box?</p>
<p>Restlet does have a JAX-RS implementation for the server side, but not the client side. That being said, I don&#8217;t see the point. You don&#8217;t get the dynamic path mapping that JAX-RS buys you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: billburke</title>
		<link>http://bill.burkecentral.com/2008/06/16/resteasy-mom-an-exercise-in-jax-rs-restful-ws-design/#comment-4523</link>
		<dc:creator><![CDATA[billburke]]></dc:creator>
		<pubDate>Mon, 23 Jan 2012 15:41:44 +0000</pubDate>
		<guid isPermaLink="false">http://bill.burkecentral.com/?p=101#comment-4523</guid>
		<description><![CDATA[I don&#039;t know what your custom XML marshalling looks like or how it works, but MessageBodyReader/Writer can be tied to a specific mediatype via @Produces/Consumes annotations, also, look at the interface for MBR and MBW, you&#039;ll see isReadable, isWritable methods.  If you can easily match your custom classes using these methods, then there&#039;s no reason you can&#039;t have one MBR/MBW for your business logic.

I hate to correct you on the competition, but, I thought Restlet had a JAX-RS implementation?]]></description>
		<content:encoded><![CDATA[<p>I don&#8217;t know what your custom XML marshalling looks like or how it works, but MessageBodyReader/Writer can be tied to a specific mediatype via @Produces/Consumes annotations, also, look at the interface for MBR and MBW, you&#8217;ll see isReadable, isWritable methods.  If you can easily match your custom classes using these methods, then there&#8217;s no reason you can&#8217;t have one MBR/MBW for your business logic.</p>
<p>I hate to correct you on the competition, but, I thought Restlet had a JAX-RS implementation?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: javamonkey79</title>
		<link>http://bill.burkecentral.com/2008/06/16/resteasy-mom-an-exercise-in-jax-rs-restful-ws-design/#comment-4522</link>
		<dc:creator><![CDATA[javamonkey79]]></dc:creator>
		<pubDate>Mon, 23 Jan 2012 15:35:17 +0000</pubDate>
		<guid isPermaLink="false">http://bill.burkecentral.com/?p=101#comment-4522</guid>
		<description><![CDATA[We have a large in house library for our XML representation of our business logic. Something like:


   
      ...

This is a trivial representation. In reality there are hundreds of classes. 

So in order to make this work I would need to write a MessageBodyReader/Writer for every class? eg: foo, bar, baz, etc.? Or would it be possible to use reflection and only do this once for all of them? If reflection is possible, do you have any thoughts on why the library itself doesn&#039;t provide it?

I&#039;ve evaluated Restlet as well, and one of the things I really like about Restlet is that Object marshaling\unmarshaling is handled with no developer interaction - you just add XStream to you POM and it does the work for you. However, Restlet is not JAX-RS compliant.]]></description>
		<content:encoded><![CDATA[<p>We have a large in house library for our XML representation of our business logic. Something like:</p>
<p>      &#8230;</p>
<p>This is a trivial representation. In reality there are hundreds of classes. </p>
<p>So in order to make this work I would need to write a MessageBodyReader/Writer for every class? eg: foo, bar, baz, etc.? Or would it be possible to use reflection and only do this once for all of them? If reflection is possible, do you have any thoughts on why the library itself doesn&#8217;t provide it?</p>
<p>I&#8217;ve evaluated Restlet as well, and one of the things I really like about Restlet is that Object marshaling\unmarshaling is handled with no developer interaction &#8211; you just add XStream to you POM and it does the work for you. However, Restlet is not JAX-RS compliant.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: billburke</title>
		<link>http://bill.burkecentral.com/2008/06/16/resteasy-mom-an-exercise-in-jax-rs-restful-ws-design/#comment-4521</link>
		<dc:creator><![CDATA[billburke]]></dc:creator>
		<pubDate>Mon, 23 Jan 2012 14:01:21 +0000</pubDate>
		<guid isPermaLink="false">http://bill.burkecentral.com/?p=101#comment-4521</guid>
		<description><![CDATA[Not sure what your constraints are, but you could write your own MessageBodyReader/Writer for the types you need it done for.]]></description>
		<content:encoded><![CDATA[<p>Not sure what your constraints are, but you could write your own MessageBodyReader/Writer for the types you need it done for.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: javamonkey79Shaun</title>
		<link>http://bill.burkecentral.com/2008/06/16/resteasy-mom-an-exercise-in-jax-rs-restful-ws-design/#comment-4520</link>
		<dc:creator><![CDATA[javamonkey79Shaun]]></dc:creator>
		<pubDate>Sat, 21 Jan 2012 01:59:55 +0000</pubDate>
		<guid isPermaLink="false">http://bill.burkecentral.com/?p=101#comment-4520</guid>
		<description><![CDATA[How would use use JAX-RS if you can not apply JAXB to the objects you are passing over the wire? Is this possible?]]></description>
		<content:encoded><![CDATA[<p>How would use use JAX-RS if you can not apply JAXB to the objects you are passing over the wire? Is this possible?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: billburke</title>
		<link>http://bill.burkecentral.com/2008/06/16/resteasy-mom-an-exercise-in-jax-rs-restful-ws-design/#comment-4252</link>
		<dc:creator><![CDATA[billburke]]></dc:creator>
		<pubDate>Thu, 24 Feb 2011 03:01:59 +0000</pubDate>
		<guid isPermaLink="false">http://bill.burkecentral.com/?p=101#comment-4252</guid>
		<description><![CDATA[Check out http://jboss.org/hornetq/rest and let me know if it fits your needs, or is overkill.]]></description>
		<content:encoded><![CDATA[<p>Check out <a href="http://jboss.org/hornetq/rest" rel="nofollow">http://jboss.org/hornetq/rest</a> and let me know if it fits your needs, or is overkill.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nav</title>
		<link>http://bill.burkecentral.com/2008/06/16/resteasy-mom-an-exercise-in-jax-rs-restful-ws-design/#comment-4251</link>
		<dc:creator><![CDATA[nav]]></dc:creator>
		<pubDate>Thu, 24 Feb 2011 02:53:13 +0000</pubDate>
		<guid isPermaLink="false">http://bill.burkecentral.com/?p=101#comment-4251</guid>
		<description><![CDATA[Hi bill,

We are using RESTeasy. We wish to forward the request coming to RESTful service to a queue. The Listener of the queue will invoke a JBPM process.
Can you put your ideas on this flow?

Thanks
Naveen Gayar]]></description>
		<content:encoded><![CDATA[<p>Hi bill,</p>
<p>We are using RESTeasy. We wish to forward the request coming to RESTful service to a queue. The Listener of the queue will invoke a JBPM process.<br />
Can you put your ideas on this flow?</p>
<p>Thanks<br />
Naveen Gayar</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Harby</title>
		<link>http://bill.burkecentral.com/2008/06/16/resteasy-mom-an-exercise-in-jax-rs-restful-ws-design/#comment-3127</link>
		<dc:creator><![CDATA[John Harby]]></dc:creator>
		<pubDate>Mon, 12 Oct 2009 20:55:13 +0000</pubDate>
		<guid isPermaLink="false">http://bill.burkecentral.com/?p=101#comment-3127</guid>
		<description><![CDATA[Hey Bill,

     I wondered if anyone has built an async interface to REST without JMS as in JAX-WS.

Thanks,
John Harby]]></description>
		<content:encoded><![CDATA[<p>Hey Bill,</p>
<p>     I wondered if anyone has built an async interface to REST without JMS as in JAX-WS.</p>
<p>Thanks,<br />
John Harby</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ross Duncan</title>
		<link>http://bill.burkecentral.com/2008/06/16/resteasy-mom-an-exercise-in-jax-rs-restful-ws-design/#comment-2779</link>
		<dc:creator><![CDATA[Ross Duncan]]></dc:creator>
		<pubDate>Sun, 31 May 2009 07:56:56 +0000</pubDate>
		<guid isPermaLink="false">http://bill.burkecentral.com/?p=101#comment-2779</guid>
		<description><![CDATA[Hi Bill,

I know this is a little old, but Im really intrerested in this approach to ubiquitous access to a messaging system. 

I believe the need is there for a greater decoupling of messaging clients from the servers implementation. Projects I have seen recently have run into severe difficulties talking to messaging systems from disparate JMS providers, due to the clients needing to very carefully manage the messaging client libraries for each provider concurrently. Without an OSGi system, this can get really tricky indeed.

REST as an architectural style seems to bring a lot to the table when trying to solve this problem, particularly providing a standard coms protocol, if we assume HTTP.

My main concern or challenge I see with providing a RESTful interface to a messaging system (JMS for example) would be allowing for XA interactions with the messaging provider. Of course this more of a WS problem generally. Is this something you have considered?

Cheers,
Ross]]></description>
		<content:encoded><![CDATA[<p>Hi Bill,</p>
<p>I know this is a little old, but Im really intrerested in this approach to ubiquitous access to a messaging system. </p>
<p>I believe the need is there for a greater decoupling of messaging clients from the servers implementation. Projects I have seen recently have run into severe difficulties talking to messaging systems from disparate JMS providers, due to the clients needing to very carefully manage the messaging client libraries for each provider concurrently. Without an OSGi system, this can get really tricky indeed.</p>
<p>REST as an architectural style seems to bring a lot to the table when trying to solve this problem, particularly providing a standard coms protocol, if we assume HTTP.</p>
<p>My main concern or challenge I see with providing a RESTful interface to a messaging system (JMS for example) would be allowing for XA interactions with the messaging provider. Of course this more of a WS problem generally. Is this something you have considered?</p>
<p>Cheers,<br />
Ross</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sergei</title>
		<link>http://bill.burkecentral.com/2008/06/16/resteasy-mom-an-exercise-in-jax-rs-restful-ws-design/#comment-2199</link>
		<dc:creator><![CDATA[Sergei]]></dc:creator>
		<pubDate>Mon, 03 Nov 2008 15:05:48 +0000</pubDate>
		<guid isPermaLink="false">http://bill.burkecentral.com/?p=101#comment-2199</guid>
		<description><![CDATA[&lt;blockquote&gt;the standard HTTP 1.1 definition of PUT tells the user of our messaging system that sending a message is idempotent and they don’t have to worry about performing resends&lt;/blockquote&gt;

Strictly speaking this is untrue. &lt;a href=&quot;http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.6&quot; rel=&quot;nofollow&quot;&gt;RFC-2616 (HTTP/1.1)&lt;/a&gt; explicitly states that &quot;HTTP/1.1 does &lt;strong&gt;not&lt;/strong&gt; define how a PUT method affects the state of an origin server.&quot;]]></description>
		<content:encoded><![CDATA[<blockquote><p>the standard HTTP 1.1 definition of PUT tells the user of our messaging system that sending a message is idempotent and they don’t have to worry about performing resends</p></blockquote>
<p>Strictly speaking this is untrue. <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.6" rel="nofollow">RFC-2616 (HTTP/1.1)</a> explicitly states that &#8220;HTTP/1.1 does <strong>not</strong> define how a PUT method affects the state of an origin server.&#8221;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

