[JDEV] Jabber Bot / Auto Contact Bot
Edward Tsai
edwardt at ucla.edu
Fri Apr 4 12:20:50 CST 2003
I see. Can I generate the Salesman 1, 2, 3, etc. on the fly? This would
probalby have to be some value tied into the user's login time and some
special user identifier, etc. because if its a clientside app, it won't be
able to keep track of which Salesman# to use.
As for a servlet, you mean, use JSP or ASP? Do you have any sample code that
does that?
Thanks.
-Edward
----- Original Message -----
From: "Iain Shigeoka" <iain at jivesoftware.com>
To: "Jabber" <jdev at jabber.org>
Sent: Thursday, April 03, 2003 1:01 PM
Subject: Re: [JDEV] Jabber Bot / Auto Contact Bot
> 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