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

JabberForum list-jdev at jabberforum.org
Wed May 14 09:22:35 CDT 2008


What would you quote as a real world use of the resource name that
appears in the JID..?

Lets say, as an example, 
>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)

It would be great if someone can give a 'real' example where the
resource names are useful compared to unique bare jids....

--------------------------------------------------

To quote RFC 3920:
"A resource identifier may modify either a <node at domain> or a mere
<domain> address. It usually represents a specific session"

"Multiple resources (e.g., devices or locations) MAY connect
simultaneously to a server on behalf of each authorized client"

"After SASL negotiationUse of SASL with the receiving entity, the
initiating entity MAY want or need to bind a specific resource to that
stream"


Thanks!
Santhosh


-- 
santhosh.kulandaiyan
------------------------------------------------------------------------
santhosh.kulandaiyan's Profile: http://www.jabberforum.org/member.php?userid=16912
View this thread: http://www.jabberforum.org/showthread.php?t=61




More information about the JDev mailing list