Archive

Archive for the ‘Identity’ Category

Openfire + jwchat + Tomcat = Realtime collaboration

October 22, 2009 Leave a comment

If you are building a web application, you might need customers use IM client to get to you easily, and can communicate with you on real time. Then I would recommend the Openfire (IM server) + jwchat (web IM) to build your real time collaboration. All of these two are open source. Openfire also has its enterprise edition.

Following are two links about how to setup these two. (both of them are written in Chinese).

1. 构建 基于openfire + jwchat 的 WEB IM
2. Openfire+jwchat linux 下安装记录

I am using the Openfire 3.6.4. But the steps are the same as before.

Update (Oct-24-2009), if you want to build your own web IM to communicate with Jabber server, then you’d better check out the JSJAC library. One common issue due to the XMLHttpRequest is that is unable to get resource across the domain. Good news is that you could either use the Apache mod_proxy or url rewrite to do so, or you deploy a JHB servlet like what jwchat war did.

Categories: Chinese, Identity