HTTP vs XMPP

http - hyper text transfer protocol
xmpp - eXtensible messaging and presence protocol.

Both http and xmpp is communication protocol and open source. But their uses is completely different.

XMPP is mostly used in chat type application. XMPP is faster than HTTP. It's a bi-directional functionality.

Like chat application, user sends message from device, it's re-directs to server and receive's message to another user. It's handle both upstream and downstream.

Comments

Popular posts from this blog

Clear the app data programmatically in android

convert an integer to a string in java

Print the large string values in android log cat.