<?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: JavaSpaces and Databases</title>
	<atom:link href="http://www.dancres.org/blitzblog/2006/06/12/javaspaces-and-databases/feed/" rel="self" type="application/rss+xml" />
	<link>http://dancres.org/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.dancres.org%2Fblitzblog%2F2006%2F06%2F12%2Fjavaspaces-and-databases%2F%23comment-&#038;seed_title=JavaSpaces+and+Databases</link>
	<description></description>
	<lastBuildDate>Mon, 02 Jan 2012 08:22:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Dan Creswell</title>
		<link>http://dancres.org/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.dancres.org%2Fblitzblog%2F2006%2F06%2F12%2Fjavaspaces-and-databases%2F%23comment-8&#038;seed_title=JavaSpaces+and+Databases/comment-page-1/#comment-8</link>
		<dc:creator>Dan Creswell</dc:creator>
		<pubDate>Tue, 13 Jun 2006 08:13:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.dancres.org/blitzblog/?p=16#comment-8</guid>
		<description>Hi Steve,

Cool questions:

Okay so, I&#039;m aware some people have put a query facility on top of the JavaSpaces API and it does indeed muddy the waters.  I guess their philosophy is to make a JavaSpace a &quot;jack of all trades&quot; which is the opposite of mine hence my original scribblings on the differences. IMHO, many a Java framework attempts to be &quot;jack of all trades&quot; and the result is horrible API&#039;s, horrible configuration, horrible complexity in general.

Random thoughts:

LRU policy - you don&#039;t have a guarantee that any space implementation actually does have such a policy or even uses caching.

Querying - most RDBMS&#039;en have advanced query optimizers to accelerate performance - JavaSpaces don&#039;t really yield to the same approach.  In the case of the vendor I think you&#039;re talking about, they&#039;ve actually built their implementation on top of an SQL database with it&#039;s associated advantages and disadvantages.

Do one thing well - I wouldn&#039;t use a database as a substitute for a JavaSpace or vice versa, nor would I try and &quot;have it all&quot; in one thing.  Especially in the context of SOA but in decent architecture in general, the &quot;do one thing well&quot; mantra yields better results.  &quot;Have it all&quot; often leads to a compromise which loses you the key benefits of each and messes up your architecture as your system gains features over time.  However, I have actually combined RDBMS and JavaSpaces as discrete components for certain kinds of system.  And of course, I&#039;m not going to say that my way is the only way!

Request for feedback:

I&#039;d be interested to hear why you would like to avoid having both a JavaSpace and an RDBMS - is it architecture, license cost, machine cost or something else?

Non clustered HA solution:

Bits of this are being tested out with various of my customers in different kinds of deployment.  I&#039;m busy figuring out the best way to package it all up and make it available.

I could just supply it as a framework but getting the documentation right etc is difficult.  I&#039;m tempted to express it as a collection of design patterns - whether that&#039;d be in book form or something else, dunno.  I&#039;m also thinking about providing it as part of some Web 2.0 style offering.</description>
		<content:encoded><![CDATA[<p>Hi Steve,</p>
<p>Cool questions:</p>
<p>Okay so, I&#8217;m aware some people have put a query facility on top of the JavaSpaces API and it does indeed muddy the waters.  I guess their philosophy is to make a JavaSpace a &#8220;jack of all trades&#8221; which is the opposite of mine hence my original scribblings on the differences. IMHO, many a Java framework attempts to be &#8220;jack of all trades&#8221; and the result is horrible API&#8217;s, horrible configuration, horrible complexity in general.</p>
<p>Random thoughts:</p>
<p>LRU policy &#8211; you don&#8217;t have a guarantee that any space implementation actually does have such a policy or even uses caching.</p>
<p>Querying &#8211; most RDBMS&#8217;en have advanced query optimizers to accelerate performance &#8211; JavaSpaces don&#8217;t really yield to the same approach.  In the case of the vendor I think you&#8217;re talking about, they&#8217;ve actually built their implementation on top of an SQL database with it&#8217;s associated advantages and disadvantages.</p>
<p>Do one thing well &#8211; I wouldn&#8217;t use a database as a substitute for a JavaSpace or vice versa, nor would I try and &#8220;have it all&#8221; in one thing.  Especially in the context of SOA but in decent architecture in general, the &#8220;do one thing well&#8221; mantra yields better results.  &#8220;Have it all&#8221; often leads to a compromise which loses you the key benefits of each and messes up your architecture as your system gains features over time.  However, I have actually combined RDBMS and JavaSpaces as discrete components for certain kinds of system.  And of course, I&#8217;m not going to say that my way is the only way!</p>
<p>Request for feedback:</p>
<p>I&#8217;d be interested to hear why you would like to avoid having both a JavaSpace and an RDBMS &#8211; is it architecture, license cost, machine cost or something else?</p>
<p>Non clustered HA solution:</p>
<p>Bits of this are being tested out with various of my customers in different kinds of deployment.  I&#8217;m busy figuring out the best way to package it all up and make it available.</p>
<p>I could just supply it as a framework but getting the documentation right etc is difficult.  I&#8217;m tempted to express it as a collection of design patterns &#8211; whether that&#8217;d be in book form or something else, dunno.  I&#8217;m also thinking about providing it as part of some Web 2.0 style offering.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: an interested party</title>
		<link>http://dancres.org/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.dancres.org%2Fblitzblog%2F2006%2F06%2F12%2Fjavaspaces-and-databases%2F%23comment-7&#038;seed_title=JavaSpaces+and+Databases/comment-page-1/#comment-7</link>
		<dc:creator>an interested party</dc:creator>
		<pubDate>Tue, 13 Jun 2006 00:22:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.dancres.org/blitzblog/?p=16#comment-7</guid>
		<description>At least one vendor has built a query facility, via vendor specific extensions, on top of the JavaSpaces API.

This muddies the purity of the statement that JavaSpaces is &quot;snapshot of a set of conversations between multiple senders and recipients&quot; because one could use the &quot;space&quot; as a database, relying on the persistent space with LRU eviction policy to keep the &quot;working set&quot; reasonable.

I have been tempted to &quot;abuse&quot; spaces in just that way so that both an RDBMS and a space are not needed. What do you think?

Also, I hope you will reveal more about your non-clustered HA solution!

thanks again,</description>
		<content:encoded><![CDATA[<p>At least one vendor has built a query facility, via vendor specific extensions, on top of the JavaSpaces API.</p>
<p>This muddies the purity of the statement that JavaSpaces is &#8220;snapshot of a set of conversations between multiple senders and recipients&#8221; because one could use the &#8220;space&#8221; as a database, relying on the persistent space with LRU eviction policy to keep the &#8220;working set&#8221; reasonable.</p>
<p>I have been tempted to &#8220;abuse&#8221; spaces in just that way so that both an RDBMS and a space are not needed. What do you think?</p>
<p>Also, I hope you will reveal more about your non-clustered HA solution!</p>
<p>thanks again,</p>
]]></content:encoded>
	</item>
</channel>
</rss>

