适用于本地主机服务器的最佳 jQuery/Java PHP 解决方案 - 客户端实时聊天

发布于 2024-10-31 06:51:27 字数 116 浏览 6 评论 0原文

我的私人网络中有带有 PHP 的 Apache 服务器和关联的本地客户端 PC。有人可以建议客户端 PC 和服务器之间通信的最佳聊天解决方案吗?我正在寻找 Ajax/Java 解决方案,例如 GMail 内的聊天支持。

I have Apache server with PHP and associated local client PCs in my private network. Can anybody suggest the best chat solution to communicate between client PCs and a server? I am looking for an Ajax/Java solution, like the chat support inside GMail.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

呆° 2024-11-07 06:51:27

您是否考虑过 Google App Engine for java 的 XMPP 服务?

http://code.google.com/appengine/docs/java/xmpp/

显然,它与其余的 google api 具有非常好的集成,如果您在配额范围内,或者使用 jetty 在本地服务器上运行它,则可以免费托管服务器

Did you consider the XMPP service from google app engine for java?

http://code.google.com/appengine/docs/java/xmpp/

It has very good integration obviously with the rest of google apis and the server can be hosted for free if you're under the quota, or running it on localserver using jetty

那支青花 2024-11-07 06:51:27

您可以使用 JQuery / PHP Chat是免费的,可以集成到网站中。

You can make use of JQuery / PHP Chat which is free and can be integarted into sites.

乖不如嘢 2024-11-07 06:51:27

用阿帕奇做不到。聊天通常通过一种名为 Comet 的技术来完成,Apache 不支持该技术, AFAIK。 GMail 使用这种技术。

另一种效率较低的可能性是使用轮询策略,这涉及大量无关的服务器-客户端通信。

Can't do it with Apache. Chat is usually done through a technique called Comet, which is not supported by Apache, AFAIK. GMail uses this technique.

Another, less efficient possibility is using polling strategy, which involves a lot of extraneous server-client communication.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文