[jdev] Real world uses of a Resource Name in a JID
sean.gilbertson at gmail.com
Thu May 15 17:02:36 CDT 2008
This is a great explanation. Thanks Alexey!
On 5/14/08, Alexey Nezhdanov <snakeru at gmail.com> wrote:
> 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.
> 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
> send message to. Most people doesn't notice that you use several resources
> 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