The Artima Developer Community
Sponsored Link

Java Buzz Forum
On JavaSpaces iterator and multi-read-write-take operations

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Talip Ozturk

Posts: 103
Nickname: talip
Registered: May, 2003

Talip Ozturk is founder of Hazelcast, distributed queue, set, map and lock implementation.
On JavaSpaces iterator and multi-read-write-take operations Posted: Aug 12, 2003 2:52 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Talip Ozturk.
Original Post: On JavaSpaces iterator and multi-read-write-take operations
Feed Title: Shared Memory
Feed URL: http://sedoparking.com/search/registrar.php?domain=®istrar=sedopark
Feed Description: about java, jini, javaspaces, programming, aop and a little bit of me and life.
Latest Java Buzz Posts
Latest Java Buzz Posts by Talip Ozturk
Latest Posts From Shared Memory

Advertisement
Description: According to JavaSpaces spec., you can only read/write/take one entry at a time. There is no specification-forced way of reading/writing/taking/paging multiple entries. I always thought JavaSpaces interface should support reading/writing/taking multiple entries until I read this email. It clearly explains why iterators and multi-read-write-takes are avoided in JavaSpaces spec.

Abstract: The argument over iterators in tuple-based systems is not a new one, however there are good reasons to resist adding them: first and foremost is semantic consistency. Here is a bit from Gelernter on the subject (while this paragraph obviously describes Linda, if you substitute "take" for "in", "entry" for "tuple" and "space" for "tuple space" you have JavaSpaces):

Resource URL: http://swjscmail1.java.sun.com/cgi-bin/wa?A2=ind9901&L=javaspaces-users&P=R175

Resource Location: JavaSpaces User email-group (javaspaces-users@java.sun.com)

Read: On JavaSpaces iterator and multi-read-write-take operations

Topic: CVS server solutions for Windows XP Previous Topic   Next Topic Topic: Sun announces Opteron Java support : 64 bits of Java

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use