Re: Reshaping the JavaSpaces architecture. Just some thoughts ...
Holger Hoffstätte <[email protected]> Thu, 1 May 2008 21:34:58 +0200
| Newsgroups | gmane.comp.java.sun.javaspaces |
|---|---|
| Message-ID | <[email protected]> |
Oliver Plohmann wrote:
> With regard to distributed event notification ... I was assuming that
> event notification is only triggered when an entry is written to the
> space, because it says on p.140 of Flenner's book ("Jini and JavaSpaces
Right: the arrival of the entry indicates a state change in the space.
> about the traffic light changing from red to green a traffic light
> object with color "green" needs to be written to the space, that is
> simply changing the the value of color attribute wouldn't do. I admit
You cannot modify a value in-space-place - _that's the whole point!_
The only way of causing an observable state change is by writing a new
entry, like e.g. a new version of the TrafficLightState for a particular
traffic light.
Holger
PS: let me know if you want to discuss all this in German, via email or
voice. :)
===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JAVASPACES-USERS". For general help, send email to
[email protected] and include in the body of the message "help".
To view past JAVASPACES-USERS postings, please see:
http://archives.java.sun.com/archives/javaspaces-users.html