June 1999
Intermediate to advanced
368 pages
8h 21m
English
If a listener nods his head when you're explaining your program, wake him up.
—Alan Perlis, Epigrams in Programming
The read and take methods encourage a programming style whereby we explicitly read (or take) entries from a space, blocking if no such entry is yet available. Until now, we've ignored the JavaSpace interface's notify method, which allows us to react to the arrival of entries as they are placed in a space. Although notify won't allow you to write programs that can't already be written in terms of reads and takes, notify will provide you with another tool that can be used if your application is simpler to design or build using a reactive programming style. In addition, notify can be used to allow non ...
Read now
Unlock full access