开发者

Best jQuery/Java PHP solution for localhost server - client live chat

开发者 https://www.devze.com 2023-02-23 15:08 出处:网络
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 lo

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.


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


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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号