18.2. What can a generator do?

In addition to internationalization, which we briefly discussed, you can find GWT using generators in the following areas:

  • Remote Procedure Call (RPC) proxy code and serialization/unserialization code
  • Declarative user interfaces (UiBinder)
  • RunAsync proxy code (for deferred loading of code)
  • Internationalization and localization
  • Client bundles
  • Benchmark tools
  • Editors
  • Places
  • SafeHtml
  • Validation (when it makes it to the trunk)
  • JUnit testing

Not all of these take a properties file and map the contents to methods in an interface, as the internationalization generator does. In this section, we’ll look briefly at what some of the standard GWT generators do for your code and see what they can access and manipulate. ...

Get GWT in Action, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.