JavaScript 和 JMS 的集成

发布于 2024-07-04 13:51:09 字数 1560 浏览 4 评论 0 原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(4

百合的盛世恋 2024-07-11 13:51:09

您将在此处找到一些对 Dojo/Bayeux 方法的参考
http://www.pathf.com/blogs/2006/08/bayeux_a_json_p/< /a>

如果您使用的是 WebSphere 6.0 或更高版本,那么 Web 2.0 Feature Pack 包含一个实现。

You'll find some references to the Dojo/Bayeux approach here
http://www.pathf.com/blogs/2006/08/bayeux_a_json_p/

If you're using WebSphere 6.0 or higher then the Web 2.0 Feature Pack includes an implementation.

绝影如岚 2024-07-11 13:51:09

我认为 就是你的答案。 看起来它已经融入到 ActiveMQ 中了。 我尝试了这些例子,它们似乎有效。

http://activemq.apache.org/ajax.html

I think this is your answer. Looks like it is baked in to ActiveMQ. I tried the examples and they seem to work.

http://activemq.apache.org/ajax.html

半寸时光 2024-07-11 13:51:09

我会尝试使用 DWR 将 JavaScript 与您的 Java 应用程序集成。 它使 Java 到 JavaScript 的通信变得透明,并且只需要一个 Servlet + 配置即可公开内容。 我还没有使用 JMS 完成此操作,但它的工作原理应该是相同的。 三种技术共同解决了我所有的集成问题,SpringMule 和 DWR。

I would try using DWR to integrate JavaScript with your Java app. It makes Java to JavaScript communication transparent and only requires one servlet + configuration of what to expose. I haven´t done this with JMS, but it should work the same. There are three technologies that together solve all my integration problems, Spring, Mule, and DWR.

兔小萌 2024-07-11 13:51:09

Seam 框架 支持从基于 JavaScript 的客户端订阅 JMS 主题:

http://docs.jboss.com/seam/2.0.2 .GA/reference/en-US/html/remoting.html#d0e14169

The Seam framework supports subscription to JMS topics from a JavaScript based client:

http://docs.jboss.com/seam/2.0.2.GA/reference/en-US/html/remoting.html#d0e14169

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