有没有人使用JavaSpaces技术? [英] Anyone using JavaSpaces technology?
问题描述
JavaSpaces技术是否真正具有实际用途以及它是如何实现的?
Are there real practical uses of JavaSpaces technology out there and how exactly is it implemented?
推荐答案
我们目前正在使用javaspaces (Sun outrigger实现),以协调松散耦合的过程。它背后的想法是引人注目的,API非常简单。实际的实施一直是个问题。它建立在Jini之上,因此需要5或6个进程来占用空间。而且,至少在Sun的实现中,没有办法让它通过特定端口进行通信,这使防火墙变得有点痛苦。
We are currently using javaspaces (the Sun outrigger implementation), to coordinate loosely coupled processes. The idea behind it is compelling, and the API is very simple. The actual implementation has been a problem. It's built on Jini, so 5 or 6 processes are required to bring up a space. And, at least in Sun's implementation, there is no way to have it communicate over specific ports, which makes firewalls a bit of a pain.
我们遇到的另一个问题是空间中没有隐含的排序。因此,如果您放入5个对象,并且您的模板在read / take上匹配全部5个,则未指定您将获得哪个。根据应用程序的不同,这可能是也可能不是问题。
The other issue that we have run into is that there is no implied ordering in the space. So if you put 5 objects in, and your template on the read/take matches all 5, it is unspecified which one you will get. Depending on the application, this may or may not be an issue.
这篇关于有没有人使用JavaSpaces技术?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!