differences between smack, tinder and whack
Asked Answered
B

3

25

Can anyone tell me what the differences are between smack, tinder and whack?

Are tinder and whack slim-down versions of smack? Do the 3 libraries serve different purposes?

Buddhism answered 10/10, 2009 at 10:34 Comment(1)
I thought this was some kind of poem at first.Cowes
I
45

Smack is a client library. You can use it to log into an XMPP domain and make use of the functionality it provides. Typically, Smack is used to implement a instant messaging client.

Tinder is a low-level XMPP library. It provides Java implementations of basic XMPP entities, such as Stanzas (called 'Packet' in XMPP), JIDs and Components (which typically implement part of the functionality of an XMPP server). Although in theory, Tinder could be used to implement client functionality, it currently is primarily used on the server-side. Both Whack and Openfire (an XMPP server implementation) use Tinder-defined entities. Smack does not use Tinder at all.

Whack is Java library that is used to implement external components. Whack allows a Component (as defined in Tinder) to run as a stand-alone process. Whack allows you to connect this process to an XMPP domain. This way, you can extend the functionality provided by that domain without modifying the implementation of the server software.

Impart answered 13/10, 2009 at 15:41 Comment(2)
Great answer Guus - For bonus points, do you know of any open source Whack examples? I want to write an External Component for Openfire but would like to see some existing code first.Clemente
gav, the Whack source ships with a "weather" example. It's a bit outdated, but pretty trivial.Impart
B
3

I suggest reading this Blog entry

Introducing Tinder, an XMPP object implementation library

Smack -> Cross-platform real-time collaboration client optimized for business and organizations

Whack -> Java XMPP component library

Tinder -> Java based XMPP library, providing an implementation for XMPP stanzas and components

Tinder builds on code from Openfire and Whack. Does not replace Smack but will most likley replace Whack, OpenFire (formerly WildFire)

Boscage answered 10/10, 2009 at 11:41 Comment(0)
O
3

If you wanna create an application:

Smack will be client side Library

Whack and/or Tinder will be Server side Library

Oblige answered 7/7, 2010 at 15:30 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.