Hi !
Don't forget that websockets will only be used if both the server and the client support them.
Also, your goals are a bit unclear : you mention RPC, which is client initiated communication, and websockets, whose initial aim was to push data from the server to the client. However, indeed, both types of communications could (should ?) be unified, see below.
Regarding Atmosphere, I played a very little bit with this framework a few few months ago, for a PoC I left aside, and wasn't very excited : the documentation was quite shallow and the framework itself is quite "low level". Basically, it allows you to send strings from the server to the client, with some support for object serialization which is/was a bit tedious. I don't remember any support for client initiated communications. However, this opinion should not be taken in a too harsh way : Atmosphere is a generic framework, with a bit of specialized support for GWT, not a GWT specific framework.
Also, at Devoxx FR 2~3 weeks ago, Sami Jabber reported a similar "disappointment" with Atmosphere (
http://www.slideshare.net/samijaber/session-gwt-devoxx-france-2012-cobra, slide 11, sorry that's in French ;-) ), although they may have evaluated this while ago, on less mature versions.
Anyway, I'd rather recommend you to have a look at JBoss' Errai [
http://www.jboss.org/errai.html], which adds very nice stuff on top of GWT, like CDI, JAX-RS related stuff and "a unified federation and RPC infrastructure with true, uniform, asynchronous messaging across the client and server".
Regarding communications, see e.g.
https://docs.jboss.org/author/display/ERRAI/Messaging :
This section covers the core messaging concepts of the ErraiBus messaging framework.
ErraiBus forms the backbone of the Errai framework's approach to application design. Most importantly, it provides a straight-forward approach to a complex problem space. Providing common APIs across the client and server, developers will have no trouble working with complex messaging scenarios from building instant messaging clients, stock tickers, to monitoring instruments. There's no more messing with RPC APIs, or unweildy AJAX or COMET frameworks. We've built it all in to one, consice messaging framework. It's single-paradigm, and it's fun to work with.
Best regards,
Yannis
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to
google-we...@googlegroups.com.
> To unsubscribe from this group, send email to
>
google-web-tool...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/google-web-toolkit?hl=en.
--
Best regards,
Yannis