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

Alexey Nezhdanov snakeru at gmail.com
Wed May 14 23:43:11 CDT 2008

On Wednesday 14 May 2008 19:14:44 Maciek Niedzielski wrote:
> 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.
The main problem here is not about you but about people who you chat with. In 
this case they would:
1) have several your contacts in their contact lists (annoyance)
2) Having several your contacts online at the same time be uncertain where to 
send message to. Most people doesn't notice that you use several resources so 
that problem will be auto-resolved if you use multi-resource connection 
3) Having all your contacts offline at the same time there is no good way to 
send you offline message. Sending message to all contacts is not what people 
usually do and inconvenient. Sending it to just one or several may result in 
receiving the message much later than you may otherwise.

Alexey Nezhdanov

More information about the JDev mailing list