I successfully did a sample application using Smack API and Openfire server installed in local machine as a web application.
i need to know , If I quit the application withoul logging out, my presence showing as still online, please any one help me about when to call connection.disconnect() method to automatically disconnect the users in abnormal conditions as power shutdown, network failure etc, or i need to use any listener package available in Smack api, or i have to set any properties in Openfire System Properties.