18.9. Summary

You’ve seen that generators are capable components in GWT development, able to access all aspects of a type during compile time and build a new type from that type or other resources through type and resource oracles. You can even alter the generated class based on deferred-binding properties or configuration properties.

A typical developer is unlikely to need to create generators on a daily basis. But designers of any serious application should consider whether they can use generators to reduce the need to implement certain repeated or boilerplate functionality or to reduce the burden on developers.

The key thing to take from this chapter is that generators should sit outside the GWT compile path because they aren’t restricted ...

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.