I am developing a chat application based on XMPP/Jabber. How the stanzas in XMPP are implemented in an application?
Thanks in advance.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You’ll just have to use an XMPP library for the language you’re developing it in. You could generate the stanzas yourself, but that would be re-inventing the wheel.
There’s a fairly comprehensive list of libraries here. For JavaScript I recommend Strophe.js. For Java the best is Smack and for Android the best is aSmack (a port of Smack). The most comprehensive and up-to-date for Python is SleekXMPP. The list goes on and on.