Hacker News new | ask | show | jobs
by mathieulorber 4110 days ago
It's technically completely possible.

You do not /have/ to use the GWT serialization lib which comes with RPC. You can use JSON with GWT. It's actually very trendy and some new librairies simplify this.

But the combination GWT + node is surprising...

One of main advantages of GWT is you use the same language client-side and server-side. It's not at all "a swing portage" as it more or less used to be at the very beginning, but still, GWT comes from the Java world. If you want a strong-typed langage for your client code (big client application, huge dev team, or whatever), GWT is really the most mature solution today.

So :

* if you are ok with JS, and about making your backend in JS (I can't...), just use JS everywhere...

* if you want GWT, but a "reactive backend" like node, there are lots of good reactive backend-frameworks in the Java ecosystem