[JDEV] Jabber Bot / Auto Contact Bot

Iain Shigeoka iain at jivesoftware.com
Thu Apr 3 15:01:12 CST 2003


On 4/3/03 11:20, "Ragavan S" <jabber_dev at hotmail.com> wrote:

> Hi Edward,
> 
>> 
>> One issue I see is that I'm not sure that if I do a client on the web
>> (Java) - how am I supposed to be able to make sure that multiple people who
>> use / download the application works - like if I set a Jabber account login
>> / reg in the Java applet/application, I don't want each time someone
>> downloads / runs the applet to sign someone else off. Any thoughts or
>> anyone
>> have experience using a web interface to do Jabber stuff for multiple users
>> at once?
> 
> Jabber has the concept of resources which allows you to login with the same
> JID using different resources simultaneously. For example, you can be logged
> in as:
> JID at server/salesman1, JID at server/salesman2 ... simultaneously.

Yes, you should be able to do this to allow multiple logins to the same
account. If you're worried about downloading and runnin the app on the
client, you can always use Smack as a servlet and generate a pure HTML
interface (perhaps using iframes to load the content).

-iain




More information about the JDev mailing list