Integration of JavaScript and JMS [closed]

给你一囗甜甜゛ 提交于 2019-11-29 05:12:50

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

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

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.

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.

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!