How can I implement XMPP for my own chat client?

I want to write a chat client. I could use RMI for this, but I don't want to. Moreover, I plan to have a web interface.

I read about the XMPP protocol, and also that google talk uses it. How can I implement it to write my own chat client, and not a client for any other chat? Is there a library available that can help me implement my own chat service (IM)?

+6
source share
2 answers

Check out the smack . Its a widely used and mature library for writing xmpp applications. Here is an example for an xmpp client entry. Here is another example .

+5
source

There are many libraries on this xmpp site. You can choose any based on your requirements XMPP Libraries Go for SMACK if you write your IM in JAVA.

+1
source

Source: https://habr.com/ru/post/951190/


All Articles