Hi guys, in my never ending quest to enable xmpp bots in html using
javascript, now I decided to try the java applet approach.

Here is how I think it should be done, easy for the consumer is my
motto:

<applet id='xmpp' code='xmpp.class' width=0 height=0 />

// javascript methods
xmpp = document.applets['xmpp']
xmpp.connect('talk.google.com','5223')
xmpp.login('myjid','mypass')
xmpp.chat('[email protected]')
xmpp.send('hi bot')
xmpp.disconnect()

// javascript events
xmpp.onreceived(message){ alert(message); }
xmpp.onerror(message){ alert(message); }

So, in essence, just basic javascript stuff to connect to our java
applet and start sending messages back and forth to our appengine bot.

The xmpp javascript lib will be just an interface to the java applet
methods which will do the heavy work.

Now the question, is anybody interested in joining such a project? My
java knowledge is rusty and I'm gonna need all the help a java guru
can provide.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to