[appengine-java] Re: Sockets and applets

2010-03-21 Thread Backpack
You know this problem could be easily solved if they allowed websocket
connections to google talk, then using GAE XMPP bots to easily send
info back and forth in real time. I'd been an advocate of this
approach for a long time but no idea why this has taken so long to
implement.

Any lights?

On Mar 21, 12:54 am, John Patterson jdpatter...@gmail.com wrote:
 On 21 Mar 2010, at 11:29, t3jem wrote:

  I have seen very vague information on the internet about whether or
  not GAE allows socket connections on the server and Japplets being
  embeddable in an application.

 No sockets on GAE.  There was a thread here a while ago about games on  
 GAE and I believe the conclusion was if you need realtime  
 communication then you need to be running your own servers with  
 suitable network protocols.



  I know there is no right out easy way to do it, but I am looking to
  write a game that would be best if I can use a graphical interface
  that is more robust than AJAX (I do know JApplets are slower), I also
  would be much happier being able to send at least some data over
  socket connections in order to provide up-to-date and accurate
  information to the client without polling the server.

  I have seen many conflicting articles online and tutorials that
  haven't seemed to work, so I was wondering if anyone here has ever
  managed either of these issues and how you did it.

  I understand if this is a lost cause, I haven't found much to point
  otherwise.

  Thanks

  --
  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 google-appengine-java@googlegroups.com
  .
  To unsubscribe from this group, send email to 
  google-appengine-java+unsubscr...@googlegroups.com
  .
  For more options, visit this group 
  athttp://groups.google.com/group/google-appengine-java?hl=en
  .

-- 
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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] XMPP bot and Java applets

2009-10-19 Thread Backpack

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('my...@appspot.com')
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 google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---