powered by Jive Software

Smack api only for desk top aplication

i am trying to do a xmpp chat applications, with jsp,any one know wheather smack api can be used for web application or its only for desktop application if yes can any one tell how can i do it,any examples?