javascript - gwt+comet需要配置tomcat吗?

标签 javascript gwt comet gwt-rpc

  1. 我正在引用本教程 http://www.jroller.com/masini/entry/a_comet_implementation_for_google 。使用comet时必须配置tomcat吗?
  2. gwt+comet 可以在托管模式或必需的 -noserver 模式下运行吗?

最佳答案

我建议使用这个GWT Comet Adapter它不需要 tomcat,并以托管和编译模式运行。

引用:

Because of the way StreamHub and GWT interact, you will need to add the following to your GWT module file (the .gwt.xml file) when running in compiled mode:

  <!-- Cross-site linker needed for compiling to web mode -->
  <!-- Remove during development in hosted mode  -->
  <add-linker name="xs" />

You must comment this line out when working in hosted mode.

关于javascript - gwt+comet需要配置tomcat吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1232255/

相关文章:

javascript - AngularJS:为什么范围项没有在我的 templateUrl 中更新,但在我的指令中更新

javascript - 如何将一些结果附加到 jQuery 自动完成下拉框中?

javascript - three.js 中圆形粒子的正方形纹理

java - 可以使用蓝/绿部署部署 GWT 应用程序吗?

java - 了解gwt中水平面板中小部件的类型

java - 无法在java中运行 cometd 示例代码

c# - cometd 性能问题

javascript - Angular 嵌套重复中断指令(packery + dragabilly)

java - 适用于 Android 的 GWT/GAE 离线应用程序 - 高级

azure - 服务器推送技术(又名 "COMET"、 "http server push"、 "websockets")