Smack is the go to library for XMPP client programming on the JVM. It
has some quirks and annoying bugs, but it's versatile; it mostly
works, and it has excellent (simple!) documentation. Also, there is no
worthy free alternative available.

Docs: http://www.igniterealtime.org/builds/smack/docs/latest/documentation/

For quite some time I was nervous using it because it felt like
abandonware. To my delight, last week a new version was released after
more than 2 years, and there was even a mention of future regular
releases:

http://community.igniterealtime.org/blogs/ignite/2011/02/06/smack-320-beta-has-been-released

To save you the headache, here are two gotchas I encountered:
When connecting to Google Talk servers .setSASLAuthenticationEnabled
on ConnectionConfiguration to false.
When connecting to Facebook chat servers avoid requiring security
with .setSecurityMode on ConnectionConfiguration.

I don't know if it's fixed in the new version. Maybe Google and
Facebook fixed it on their end, as it looks like their fault. I'm no
XMPP expert so take it with a grain of salt.


On Feb 10, 2:06 pm, Bruce Durling <b...@otfrom.com> wrote:
> Hi,
>
> We're going to be doing a dojo in the future that will create an XMPP bot.
>
> I've found a couple of clojure xmpp projects out there, but I was
> wondering if anyone on the list could recommend a particular project
> in clojure or failing that a good Java library to base our work on.
>
> I've seen xmpp-cljhttps://github.com/zkim/xmpp-cljand it appears to
> be the furthest along so far.
>
> cheers,
> Bruce

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to