I cannot find anywhere a complete example of chat on java web application. I installed openfire and using smackapi I’m able to connect to server and login/disconnect users from a jsf page.
When I send a message there are no errors but in message listener the processMessage method is never called.