[jdev] Real world uses of a Resource Name in a JID

Maciek Niedzielski machekku at uaznia.net
Wed May 14 10:14:44 CDT 2008


JabberForum wrote:
> From one machine, I login as : hostname1 at domain1/Resource1.
> Simultaneously I login in another machine as
> hostname1 at domain1/Resource2.
> 
> The 2 JIDs differ only by the Resource names..
> 
> What is special about the resource names that we cannot accomplish just
> by having a unique bare jid for both users (instead of the users/clients
> differing only by resource name)

Note that subscription, etc, is done per bare JID. So if you used 
different (bare) JIDs in different locations, you'd have to exchange 
subscriptions, etc, every time.

-- 
Maciek



More information about the JDev mailing list