Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

differences between smack, tinder and whack

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?

like image 962
cometta Avatar asked Oct 10 '09 10:10

cometta


3 Answers

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.

like image 117
Guus Avatar answered Nov 12 '22 14:11

Guus


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)

like image 29
jitter Avatar answered Nov 12 '22 14:11

jitter


If you wanna create an application:

Smack will be client side Library

Whack and/or Tinder will be Server side Library

like image 3
Pujan Avatar answered Nov 12 '22 14:11

Pujan