I have some kind of system that constantly sends messages from the Java frontend to the web frontend. I am using Openfire with XMPP as the transport system. But XMPP is just a transport protocol, it does not guarantee delivery if the Internet connection does not work. Therefore, at first I decided to switch to a lighter transport protocol - WebSocket. And again, WebSocket is just a transport protocol. Is there a ready-made and free message delivery system based on WebSockets that support guaranteed message delivery. You just send a message with clientId and this infrastructure will do the rest. If the user is disconnected or the Internet connection is not working. I mean, the structure will take care of the delivery.
Eldar source share