<?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"
	>
<channel>
	<title>Comments on: RESTFul services registry</title>
	<atom:link href="http://brunopereira.org/2008/09/08/restful-services-registry/feed/" rel="self" type="application/rss+xml" />
	<link>http://brunopereira.org/2008/09/08/restful-services-registry/</link>
	<description>Software em geral, com muitas xícaras de Java, open source, SOA e o que mais surgir de interessante :)</description>
	<pubDate>Tue, 06 Jan 2009 08:34:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Bruno Pereira &#187; Blog Archive &#187; RESTFul Registry update</title>
		<link>http://brunopereira.org/2008/09/08/restful-services-registry/#comment-1122</link>
		<dc:creator>Bruno Pereira &#187; Blog Archive &#187; RESTFul Registry update</dc:creator>
		<pubDate>Wed, 24 Sep 2008 02:25:57 +0000</pubDate>
		<guid isPermaLink="false">http://brunopereira.org/?p=193#comment-1122</guid>
		<description>[...] as I said recently, we want to use a registry to keep URIs of our services and also some configurations that are [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] as I said recently, we want to use a registry to keep URIs of our services and also some configurations that are [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: blpsilva</title>
		<link>http://brunopereira.org/2008/09/08/restful-services-registry/#comment-1042</link>
		<dc:creator>blpsilva</dc:creator>
		<pubDate>Tue, 09 Sep 2008 12:14:44 +0000</pubDate>
		<guid isPermaLink="false">http://brunopereira.org/?p=193#comment-1042</guid>
		<description>Hi Phillip, you're right about the simplicity. Our requirements are not complicated, and something CRUD-like will do it just fine.

However, we find interesting to have this intermediate step, because it'll make easier for us to update and migrate stuff. The client would know the registry URI to ask stuff and some very basic information like the name of the service and the client's version. The registry would answer with the URI of the service and possibly some configuration parameters that we want to update on the client (we will provide the client for all Java applications).

At first glance it may seem that putting the registry in the middle is not necessary, but our current architecture (Java contract with EJBs) has a very tough problem with old client applications that are no longer maintained. 

Introducing the registry and the service versioning will give us flexibility to keep avaiable several different versions of the same service. The older applications can keep using their legacy versions. The newer applications can update their services as needed. With our legacy Java client this was not possible in a clean way, and this is a much desired feature.

Well, that's about it. I appreaciate your feedback, and will surely consider these discussions to decide the best way to design our architecture.

Regards,

Bruno</description>
		<content:encoded><![CDATA[<p>Hi Phillip, you&#8217;re right about the simplicity. Our requirements are not complicated, and something CRUD-like will do it just fine.</p>
<p>However, we find interesting to have this intermediate step, because it&#8217;ll make easier for us to update and migrate stuff. The client would know the registry URI to ask stuff and some very basic information like the name of the service and the client&#8217;s version. The registry would answer with the URI of the service and possibly some configuration parameters that we want to update on the client (we will provide the client for all Java applications).</p>
<p>At first glance it may seem that putting the registry in the middle is not necessary, but our current architecture (Java contract with EJBs) has a very tough problem with old client applications that are no longer maintained. </p>
<p>Introducing the registry and the service versioning will give us flexibility to keep avaiable several different versions of the same service. The older applications can keep using their legacy versions. The newer applications can update their services as needed. With our legacy Java client this was not possible in a clean way, and this is a much desired feature.</p>
<p>Well, that&#8217;s about it. I appreaciate your feedback, and will surely consider these discussions to decide the best way to design our architecture.</p>
<p>Regards,</p>
<p>Bruno</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phillip Calçado "Shoes"</title>
		<link>http://brunopereira.org/2008/09/08/restful-services-registry/#comment-1041</link>
		<dc:creator>Phillip Calçado "Shoes"</dc:creator>
		<pubDate>Tue, 09 Sep 2008 11:23:07 +0000</pubDate>
		<guid isPermaLink="false">http://brunopereira.org/?p=193#comment-1041</guid>
		<description>I'm not sure if I understood your problem.

First I question the very registry itself. If I have to know the resource I want by its name ("/repository/login/v2.0") I can't really think of any big benefit in adding just some intermediate step to get to the resource. As the client already knows an Id to the service it wants, I would prefer it to know where to find it. Changing URIs in RESTful architectures is a big deal in spite of using a Registry or not so I would expect those to not change that often. When that happens it wouldn't be a problem to return an HTTP 301 to tell the new location to the clients. I think that would be enough for most cases I've ever faced.

That said, I understand that sometimes functional or nonfunctional (i.e. sysadmins) requirements make it hard to not have a centralised point that knows all services in the ecosystem. In this case I would recommend that instead of going for a specialised solution you apply the same RESTful principle. In the end your Registry is just a RESTful webservice that manages a catalogue of other webservices. It's probably a very simple CRUD-like implementation.

cheers</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure if I understood your problem.</p>
<p>First I question the very registry itself. If I have to know the resource I want by its name (&#8221;/repository/login/v2.0&#8243;) I can&#8217;t really think of any big benefit in adding just some intermediate step to get to the resource. As the client already knows an Id to the service it wants, I would prefer it to know where to find it. Changing URIs in RESTful architectures is a big deal in spite of using a Registry or not so I would expect those to not change that often. When that happens it wouldn&#8217;t be a problem to return an HTTP 301 to tell the new location to the clients. I think that would be enough for most cases I&#8217;ve ever faced.</p>
<p>That said, I understand that sometimes functional or nonfunctional (i.e. sysadmins) requirements make it hard to not have a centralised point that knows all services in the ecosystem. In this case I would recommend that instead of going for a specialised solution you apply the same RESTful principle. In the end your Registry is just a RESTful webservice that manages a catalogue of other webservices. It&#8217;s probably a very simple CRUD-like implementation.</p>
<p>cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Glen Daniels</title>
		<link>http://brunopereira.org/2008/09/08/restful-services-registry/#comment-1039</link>
		<dc:creator>Glen Daniels</dc:creator>
		<pubDate>Tue, 09 Sep 2008 06:12:44 +0000</pubDate>
		<guid isPermaLink="false">http://brunopereira.org/?p=193#comment-1039</guid>
		<description>Hi Bruno!

I'm Glen Daniels, Director of Java Platforms at WSO2 - noticed your post, and had a few quick comments.

First off, we've had several discussions within WSO2 about how to make the Registry directly support URLs.  Although we don't have any special tooling for this, you can do it now by either using text/plain documents or coming up with your own media type.  If you go this route, you'll just get back a URL as follows:

request - GET /wso2registry/resources/someURL

response - "http://whatever.is.stored/here"

We've also talked about being able to store a URL in such a way that a GET of the Registry URL will redirect your browser to the stored URL - we've got a number of potential uses for that sort of thing.

The other important point I'd like to make is that our Registry is very much a true open source project.  All the code is Apache-licensed (hence usable without encumbrance), and we would be delighted if you felt like swinging by registry-dev@wso2.com to comment or better yet, help us make it better!  We don't want to dissuade you from doing your own thing (let many flowers bloom!) but it sounds to me like we're already pretty far down the road you're about to travel, and we might be able to get there faster together.

Thanks,
--Glen</description>
		<content:encoded><![CDATA[<p>Hi Bruno!</p>
<p>I&#8217;m Glen Daniels, Director of Java Platforms at WSO2 - noticed your post, and had a few quick comments.</p>
<p>First off, we&#8217;ve had several discussions within WSO2 about how to make the Registry directly support URLs.  Although we don&#8217;t have any special tooling for this, you can do it now by either using text/plain documents or coming up with your own media type.  If you go this route, you&#8217;ll just get back a URL as follows:</p>
<p>request - GET /wso2registry/resources/someURL</p>
<p>response - &#8220;http://whatever.is.stored/here&#8221;</p>
<p>We&#8217;ve also talked about being able to store a URL in such a way that a GET of the Registry URL will redirect your browser to the stored URL - we&#8217;ve got a number of potential uses for that sort of thing.</p>
<p>The other important point I&#8217;d like to make is that our Registry is very much a true open source project.  All the code is Apache-licensed (hence usable without encumbrance), and we would be delighted if you felt like swinging by <a href="mailto:registry-dev@wso2.com">registry-dev@wso2.com</a> to comment or better yet, help us make it better!  We don&#8217;t want to dissuade you from doing your own thing (let many flowers bloom!) but it sounds to me like we&#8217;re already pretty far down the road you&#8217;re about to travel, and we might be able to get there faster together.</p>
<p>Thanks,<br />
&#8211;Glen</p>
]]></content:encoded>
	</item>
</channel>
</rss>
