Tuesday, May 9, 2017

Re: server push example with GWT?

Has anybody managed to run an example of websockets with the embedded jetty in gwt 2.8? ie only using the jsr API. I just can't get it to work, the ServerEndpoint annotation doesn't get picked up. I also tried with the "manual" registrarion, eg with serverContainer.addEndpoint, but I have other issues there too (class cast exception). On the other hand it seems to work fine on my standalone server, so it feels like it's a problem with the embedded version.



On Monday, 1 June 2015 20:14:54 UTC+2, Edward Montgomery wrote:
Can anyone point me to a tutorial or example of how to implement server push with a GWT application?

Is this typically done by somehow matching a JavaScript socket on one end to a Java socket on the other?

Thanks.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment