I am currently testing the Smack API with an OpenFire server.
I would like to make use of this API within a Web Application.
When calling a connection to the jabber server, from my web client, my web application server makes the connection to OpenFire reads message, sends message etc… But the connection is never kept ‘‘alive’’. This makes my users appear and disapear online & offline each time an action is performed!
How could I keep this connection ‘‘connected’’, knowing that end users are in a web browser?