Implementing IM platform with Java

If you create an IM platform in Java, will this be a better way to communicate between the client and the server?

Please,

thank you

Solution

I will use direct socket connection and use well-known protocols such as XMPP You can use libraries such as smack to avoid implementing the entire protocol yourself

The main advantage of XMPP over RMI or your own protocol is that it is a perfect protocol for this purpose: im

Some chat services that already use XMPP include Google chat (Gtalk) and Facebook

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>