powered by Jive Software

AdHocCommands tutorial/examples

Hi All,

Is there any good tutorials or examples on how to implement the AdHocCommands? I’ve searched the XMPP (http://xmpp.org/extensions/xep-0050.html#impl) and smack documentation but there is no good examples out there. Specifically, I want to add new users to group automatically since the smack api doesn’t seem to provide this. Any help is greatly appreciated.

Thanks in advanced!

Check out some of the adhoc commands in the Openfire source code. And look at XMPP - the definitive guide. Between these two you should be able to see how to do it from the server side…

Thanks Mikey, I will look into the Openfire source code. About the XMPP book, is this necessary? Can I find the same information from the http://xmpp.org website? Just curious, it seems that you have actually read the book and I want to know if it is worth buying.

I really like the book, the examples it gives are very clear and it’s very imformative. The XEP’s are good too - I use them both.