[JDEV] Jabber Client feature question: scripting

Patrick McCuller patrick at kia.net
Thu Aug 5 13:56:54 CDT 1999


	Thanks. I got rhino the other day; it has an extremely complex interface,
which is unfortunate. But it looks as though it will work fine and I'll
count you as a vote for Javascript.



Patrick


> -----Original Message-----
> From: jdev-admin at jabber.org [mailto:jdev-admin at jabber.org]On Behalf Of
> arh14 at cornell.edu
> Sent: Thursday, August 05, 1999 2:48 PM
> To: jdev at jabber.org
> Subject: Re: [JDEV] Jabber Client feature question: scripting
>
>
>
> Rhino is a Javascript interpreter written in 100% Java.  I'm not sure if
> it is oriented too much towards browsers though.  It is MPL'ed.  Pick it
> up at mozilla.org.
>
> Aaron
>
> On Thu, 5 Aug 1999, Patrick McCuller wrote:
>
> >
> > My question is: what scripting language would you want to use
> to customize a
> > Jabber client?
> >
> >
> > 	I'm building a scripting engine into my Jabber client (based
> > on...JabberBeans). Scripts will be called on the firing of several event
> > types, such as: message about to be sent, message sent, message
> received,
> > and so on.  I've build a ScriptEngine interface and a subclassable
> > BasicScriptEngine. They have a fairly simple interface:
> >
> > getLocalVariable()
> > setLocalVariable()
> > setScript()
> > getScript()
> > evaluate()
> >
> > 	The intention is for third parties to build their own
> script interpreter
> > adapter. I have adapters for Beanshell and JPython already.  My
> question is:
> > what scripting languages would you want to use to customize a
> Jabber client?
> > The easiest to support are ones with Java interpreters, because
> my client is
> > written in Java, but I'm pretty handy with JNI and can always build a
> > bridge.
> >
> >
> > Patrick
> >
> >
> > _______________________________________________
> > jdev mailing list
> > jdev at jabber.org
> > http://mailman.jabber.org/listinfo/jdev
> >
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
>





More information about the JDev mailing list