3 ms·
Pardon my ignorance but is there a clean way to run GWT with non-JVM server side languages?
by rgrieselhuber 17y ago
Pardon my ignorance but is there a clean way to run GWT with non-JVM server side languages?
- ivenkys 17y agoDefine clean.
- rgrieselhuber 17y agoDoesn't require some third-party (which tend to lag behind the latest versions) library to get it working and I can write normal server side code in Python, etc.
- jauco 17y agoYou can run a REST server and make your callbacks using JSON. That's what I did a while back. PHP could be used without problems.
- mmastrac 17y agoI've done the same in the past (Python backend). I'll add one more suggestion on top of that. You can create JSNI bindings for all of the JSON RPC objects with GWT to get compile-time API checks that disappear entirely from the output.
- DenisM 17y agoYes, you can make XMLHTTPRequest backend calls, although it's a bit of a pain to debug due to same-origin policy. If you get to this basically you have to turn off built-in GWT server and use your own to serve both GWT-compiled code and your XML requests.