用于分布式系统通信的 Java Api
我们正在寻找一些 java api 用作中间件/总线,以使运行在不同主机上的 java 进程进行通信。 场景如下: - 我们有一个 Web 应用程序,我们想用它来监视在不同主机上运行的不同 java 进程 - 我们希望所有不同的进程都能够与 Web 应用程序进行通信,将它们自己的状态推送到中央 Web 应用程序 - 我们希望 Web 应用程序能够轮询不同的进程,以便接收有关其状态的更新。
我们正在考虑使用 jgroups 之类的东西,但我们不想使用 jms。 有人建议任何替代方案吗?如果突出优点/缺点就更好了。 谢谢
We're looking for some java api to use as middleware/bus to make java processes running on different hosts communicate.
The scenario is the following:
- we have a web application we want to use to monitor the different java processes running on different hosts
- we want all the different processes to be able to communicate with the web application, pushing their own status to the central web app
- we want the web app to be able to poll the different processes in order to receive updates about their status
We were thinking to use something like jgroups, while we wouldn't like to use jms.
Do anyone suggest any alternative? Even better if advantages/disavantages are highlighted..
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
听起来您需要一个消息系统,例如 RabbitMQ http://www.rabbitmq.com/ 或 ActiveMQ < a href="http://activemq.apache.org/" rel="nofollow">http://activemq.apache.org/ 。 Rabbit 最近越来越受欢迎,并且使用起来很简单(请参阅 http://www.rabbitmq.com例如 /getstarted.html)。
It sounds like you need a messaging system such as RabbitMQ http://www.rabbitmq.com/ or ActiveMQ http://activemq.apache.org/ . Rabbit has been gaining a lot of popularity recently and is straightforward to use (see http://www.rabbitmq.com/getstarted.html for example).