Thank you for your detailed reply. Now I want to know more about XMPP.
Can I implement this OpenFire Server with Apache, Mysql, and PHP?
Is there any tutorial for this? I am a beginner in developing field .So please guide me.
Best resource would be xmpp.org. The best way to look into XMPP is to setup your own server, such as an OpenFire server.
Then install one of the existing open source XMPP clients (IM client supporting XMPP) on your desktop.
Then you can view the traffic sent between the XMPP client and server using a tool such as Wireshark (formerly Ethereal).
You can test the XMPP protocol from the command line also. Look up the XMPP specification for the commands to send.
Here is an example of sending XMPP to google talk. http://www.adarshr.com/papers/xmpp
Can I implement this OpenFire Server with Apache, Mysql, and PHP?
Is there any tutorial for this? I am a beginner in developing field .So please guide me.
OpenFire server primarily sends XML over TCP conforming to the XMPP specification or other media such as video and audio streams under specifications such as RTMP.
Apache is a webserver and primarily sends HTML over HTTP conforming to the HTML specifications.
So the two are separate and for different purposes. There are specifications such as BOSH which allows XMPP over HTTP, but I'm not sure if Apache is the best tool.
In other words, OpenFire runs by …