栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 面试经验 > 面试问答

tomcat还是glassfish作为彗星服务器?

面试问答 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

tomcat还是glassfish作为彗星服务器?

达到某个特定的用户数量(comet)时,您必须付费吗?是
正确的吗?

不,GlassFish没有这种限制(您在哪里听到的?)。你如果想通过订阅官方支持只需要支付。

如果不是,那么那里有哪些免费的彗星服务器支持长时间轮询和
iframe?

Jetty has support for comet-style
programming. Tomcat has a Comet
Implementation (but I find more
complains than positive feedback about it on Google). You
could also embed StreamHub. But I’m not sure
about what they support exactly.

Personally, I’d go with GlassFish v3 / Grizzly. The main reason is that you’ll
find lots of samples, tutorials, etc (not mentioning that you already have
downloaded GlassFish and NetBeans). For example this
one.

UPDATE: While googling a bit more on this topic, I discovered
Atmosphere, 这是一种
适用于所有人的便携式AjaxPush / Comet框架(不了解此框架,
只想提及它)。引用其网站:

Atmosphere是一个基于POJO的框架,使用控制反转(IoC)
将推/彗星推向大众!最后,一个可以在任何
基于Java的Web服务器上运行的框架,包括Google App Engine,Tomcat,Jetty,
GlassFish,Weblogic,Grizzly,JBossWeb和JBoss,Resin等,而无需
等待Servlet 3.0异步支持或无需了解
Comet支持如何被所有这​​些Container实施。

但是,我还是要使用GlassFish v3 / Grizzly的方式(让Atmosphere
变得成熟一些)。



转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/422042.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号