如何在没有闪存的情况下与blazeds端点进行通信 [英] how can I talk to a blazeds endpoint without flash

查看:106
本文介绍了如何在没有闪存的情况下与blazeds端点进行通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想重用我现有的blazeds / java / spring应用程序来编写一些html 5客户端。是否有人知道一个纯粹的js(没有swf桥允许)客户端有pub / sub功能

i would like to reuse my existing blazeds/java/spring apps to write some html 5 clients. Is anyone aware of a pure js (no swf bridge allowed) client that has pub/sub capability

到目前为止,我的谷歌搜索找到了2个项目 - jsasmf (使用微小的swf)和 amf.js 缺少pub / sub,但除了这两个项目之外没有其他项目

so far my googling has found 2 projects - jsasmf (which uses a tiny swf) and amf.js which is missing pub/sub, but no other projects besides these 2

任何关于如何做到这一点的想法(疯狂很好)

any ideas (crazy is fine) on how to do this appreciated

欢呼

推荐答案

为什么不使用 jersey 注释来注释您的blazeds服务对象实现,以将其作为休息服务公开。应该可以通过blazeds同时暴露相同的服务并休息。你可以使用 Atmosphere 来实现pub / sub

Why not annotate your blazeds service object implementation with jersey annotations to expose it as a rest service. It should be possible to expose the same service through blazeds and rest at the same time. You could use Atmosphere to implement pub/sub

这篇关于如何在没有闪存的情况下与blazeds端点进行通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆