用于分布式系统通信的 Java Api

发布于 2024-12-08 16:56:48 字数 277 浏览 10 评论 0原文

我们正在寻找一些 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

请远离我 2024-12-15 16:56:48

听起来您需要一个消息系统,例如 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).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文