|WikiProject Java||(Rated Stub-class, Low-importance)|
|WikiProject Computer science||(Rated Stub-class)|
Shouldn't this artlce be under "Tuple space" not "Tuple spaces"? Either way, I suggest a redirect be created from the other one.
- As far as I know it is only used in plural from. Hence, it should be Tuple Spaces. Creating a redirect is a good thing of course. Koffieyahoo 12:07, 19 August 2005 (UTC)
Are the try-catch blocks in the current Java example really necessary? It seems to me that either
- no exception can be thrown by the try-block, in which case the catch-block is useless and confusing, and should be deleted; or else
- some exception could be thrown by the try-block, indicating an error, in which case it would be caught and ignored by the catch-block, silently introducing a bug.
If any of the operations in the Java example could actually throw exceptions, those exception types should be listed in a throw-specification, and in any case, the catch-block should be removed. If possible, someone with more Java experience than I should rewrite the code so that it cannot throw any exceptions in the first place. --Quuxplusone 05:30, 2 August 2007 (UTC)
What about the comment "Pause for 10 seconds and then retrieve the Entry and check its state."? It seems to me that we actually pause for 10 minutes. If sleep() expects milliseconds then 10*60*1000 is 10 minutes.
Then, to me, the way you create an object space seems odd: JavaSpace space = (JavaSpace)space(); // Create an Object Space Where does the method space() come from and why can you be safe to cast it to a JavaSpace? Sorry, if that is obvious, but to me it unfortunately isn't. --NimoTh (talk) 06:56, 23 June 2009 (UTC)
I chime in:
In the Java example, the Server class's main method calls
space.write(entry, null, Lease.FOREVER); and the Client class's main method calls
SpaceEntry e = space.take(new SpaceEntry(), null, Long.MAX_VALUE);.
"Implementations of tuple spaces have also been developed for Smalltalk, Java (JavaSpaces), Python, Ruby, TCL, and Lisp." It would be nice if pointers to all of the claimed implementations were provided. The quoted sentence (as of this writing) only points to the Wikipedia pages for those six languages. The "Implementations" section has five links, but doesn't say which links are for which language, nor which which of the languages are left out. —Preceding unsigned comment added by Vrmlguy (talk • contribs) 12:41, 17 September 2007 (UTC)
Tuple space is an example of DSM. Agree? If yes, I will put appriopriate links Szopen (talk) 14:08, 17 April 2008 (UTC) Since no one opposed, I will add appriopriate sentence in the lead. Szopen (talk) 06:56, 5 August 2008 (UTC)
Real world applications
In the JavaSpaces section it says "JavaSpaces remains a niche technology mostly used in the financial services and telco industries where it continues to maintain a faithful following." It would be good to add more information and references to real-world examples of JavaSpaces. Robert (talk) 02:29, 27 April 2009 (UTC)