On Friday, March 7, 2014 5:03:28 PM UTC+1, Andrea Boscolo wrote:
On Friday, March 7, 2014 10:30:50 AM UTC+1, Thomas Broyer wrote:There are also a few projects that directly try to use your GWT interfaces on server-side; and it's also a planned feature of GWT proper (no ETA yet).Just curious, but what about https://gwt-review.googlesource.com/#/c/1550/ ? An old commit (still not merged), but is it supposed to help in this way? Theoretically it should, but I can't quite 'grasp' all the bits from such a big change. I guess it was before the "GWT.create() on the server" era, but again, I'm curious about its future.
It is one step towards "I18N on the server". "GWT.create() on the server" was one such other steps. The last one being generating Messages, Constants, etc. implementations for use on the server side, that the "GWT.create() on the server" could load when called with your I18N interfaces.
I can't really tell about the future of this patch, as it's a contribution from an ex-Googler and he probably doesn't have much free time left to contribute such big changes to GWT. But the future of GWT.create() seems to be that same approach: use annotation processors to generate implementations of your interfaces and then GWT.create() will only have to pick the appropriate class for the given interface (no more generator run during the GWT compilation). It's still a long way before we reach that stage though (with probably a lot of breaking changes: GWT generators didn't use to be triggered by annotations, but annotation processors are harder –not impossible though– to trigger on anything else than annotations, so we –as users– might have to change our code to at least introduce annotations here and there to trigger the annotation processors).
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment