I agree about the simple example - originally I did plan a second, more complex, example in the piece, but I decided against it as the article was getting rather long. The ComputeFarm distribution has some more realistic examples, such as a distributed JUnit.
ComputeFarm is actually slightly higher-level than JavaSpaces. It handles transactions for you, as well as Jini discovery. As for whether it could be implemented on top of anything else, I'm confident it could be, but I haven't tried. The key requirement is a framework that supports code mobility. Green Tea looks promising, for example. Bringing ComputeFarm to the J2EE world would be interesting - ideas on how to do this gratefully received!
Cheers,
Tom |