We have RoR application and we are planning to make js interface(extjs or closure) in new version. Is it possible to use GWT with RoR?
4 Answers
Yes, using GWT with RoR is perfectly possible. Client server communication will be by JSON, which RoR can easily produce. GWT works best when you're creating a client side app in HTML/JavaScript/CSS, if you want progressive enhancement of an existing HTML UI jQuery etc. might be a better choice.
1 Comment
As this is still the accepted answer, decided to update with more modern approaches
RESTful API
The tooling for creating and consuming API's has improved markedly.
Creating REST JSON API from RoR is simple. Basically set controller to respond to a JSON request and serialise model to JSON
Consuming REST API from GWT has a good Stack Overflow answer how-to-call-restful-services-from-gwt
RoR to GWT RPC project (very dated)
The http://code.google.com/p/gwt-rails/ project is intended to provide easy to use RPC between RoR backend, and GWT UI.