Actually i'm trying to integrate chat application in web application.
I found that we can use XMPP server(as application protocol) and web socket or BOSH(as transport protocol).But i got stuck in choosing the transport protocol why i should choose web socket over BOSH or vice-versa.
thanks in advance