Since you're using App Engine, you may want to check out the Channel API for browser push.
http://code.google.com/appengine/docs/java/channel/ http://code.google.com/p/gwt-gae-channel/wiki/HowToUse This book has a nice chapter on using the Channel API with the GWT wrapper in a chat-like application: https://www.packtpub.com/google-app-engine-java-and-gwt-application-development/book HTH, /dmc On Sat, Mar 19, 2011 at 5:18 PM, Ania <[email protected]> wrote: > Hi everyone, > I'm doing web chat program for school project that has to be deployed > in the cloud.I picked AppEngine and have some parts of my program > done.I would like some advice about a few issues.My chat should work > in similar way as gmail chat.User picks contact from list and enters > text into text area,clicks button and message is sent displayed in > another user's browser.I know how to sent and display messages but I'm > not sure how to send and display message only for user and its > selected contact and the window would refresh not at some intervals > but any time user gets or sends a message. > I would really appreciate some advice on that as I'm not experienced > in Java and GWT that much. > Thank you, > Ania > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" 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-web-toolkit?hl=en. > > -- David Chandler Developer Programs Engineer, Google Web Toolkit w: http://code.google.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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-web-toolkit?hl=en.
