【发布时间】:2012-12-06 00:38:07
【问题描述】:
在the creators blog 的Atmosphere 中有一个可用框架的列表。我想使用scala 和Atmosphere 中包含的Play Framework。在博客中,他写道 Atmosphere 可以与“每个”框架一起使用。集成 Atmosphere 有那么容易吗?如何集成?
【问题讨论】:
标签: scala playframework-2.0 atmosphere
在the creators blog 的Atmosphere 中有一个可用框架的列表。我想使用scala 和Atmosphere 中包含的Play Framework。在博客中,他写道 Atmosphere 可以与“每个”框架一起使用。集成 Atmosphere 有那么容易吗?如何集成?
【问题讨论】:
标签: scala playframework-2.0 atmosphere
我知道这不一定是您要寻找的答案,但我建议您查看 Play 的原生彗星支持。
http://www.playframework.org/documentation/2.0/ScalaComet http://www.playframework.org/documentation/api/2.0/scala/play/api/libs/Comet$.html
您有 Atmosphere 可以更优雅地解决的特定用例吗?如果是这样,这里有一个线程可能会有所帮助。
https://groups.google.com/forum/m/?fromgroups#!topic/atmosphere-framework/GM6fC6-eSLE
【讨论】:
是的,看看this project - 它是在 Play 之上运行的 Atmosphere 的原生实现!
【讨论】:
我也在找这个。它带来的好处是从 websocket 到长轮询的优雅降级以及客户端和服务器端的通用 api。
【讨论】: