Smack In Web Application

I am using smack API ,Its is working fine in core java,But now I am developing web application,In this I have face some challenges in status updating presence list,How to fix this issue.

You can try to use the spark web, is based on the FLEX.