Here, this should help you getting started: http://code.google.com/p/google-web-toolkit-incubator/wiki/ServerPushFAQ
Cheers, Salvador On 15 mai, 06:06, jagadesh <[email protected]> wrote: > Hi guys , > > iam working on a mail sort of application . my requirement is i want > to implement a server push sort of application. when ever a mail comes > to the database server , the server should push the mail to client . > > i tried by creating a rpc in gwt. but when the response comes back to > client , the connection is said to closed. now > i want to implement in such a way as the connection should still > remain open and i will write a thread onn server side that > contineously check the database for a perticular period of time for > any new mails , if there are new then it will throw to the client. > > but how can i implement that technology . i got to know about "comet" > technology which needs a special server like glassfish . i am working > on tomcat right now. > > i can write a timer on client side and can make a call to server > contineously for new mails. but when ever iam making a call it is > opening a new connection to server , what happens if a call response > is still pending and a new call is made to server . may lead to memory > leak > > IS THERE ANY ALTERNATE TO THE ABOVE THING ? > > Thanks For all the support .... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
