[JDEV] Question from a student

Bain Kennedy bkennedy at isgca.com
Mon Nov 25 14:04:50 CST 2002


Or...

You could write a regular app that first handles the client/server initial recieve question, send answer.  After you finish that, write an outer class that handles the communication to and from the Jabber Server. 

Or...

Jabberbeans is an easy enough library to learn, you can use the jabberbean event model to process the question and however you get your response (from a database, textfile, or whatever method you choose), resend it...

-----Original Message-----
From: Ralph Meijer [mailto:jabber.org at ralphm.ik.nu]
Sent: Monday, November 25, 2002 11:32 AM
To: jdev at jabber.org
Subject: Re: [JDEV] Question from a student


On Mon, Nov 25, 2002 at 11:18:26AM -0800, sireesha vudatha wrote:
> Hi all,
> 
> This is Sireesha, a student who is a beginner in Jabber and I want to
> use Jabber  in a  course project where an automated agent (like a bot) will
> automatically answer the questions typed in by a user by looking into the
> database of questions and answers. (I want to use Java or perl and mysql for
> creating the database... in the project).I had looked into the various sources
> like documentation, different articles etc..
> 
> But, I am not able to understand how I can use Jabber to link to the database
> and how it can be used to achieve what I want to do in my project...
> 
> Can anyone offer me suggestions or ideas or information so that I can proceed
> in my project?
> 
> (My questions may be trivial but please help me out as I am new to this area..)

You could write a plugin for chatbot, a perl based jabber bot. See
http://chatbot.jabberstudio.org/

There are some example plugins, some with database interface.

Hope that helps,

Ralphm
_______________________________________________
jdev mailing list
jdev at jabber.org
http://mailman.jabber.org/listinfo/jdev



More information about the JDev mailing list