17.3. Using GWT properties to drive deferred binding

GWT properties are defined in a module XML file. They’re in some ways a combination of a Java enumerations and a variable at the same time—we can list the possible values for a property and define what value it has.

 

Deferred-binding property vs. configuration property

You might notice <define-configuration-property> tags in a module file. For example, the UserAgent module defines user.agent.runtimeWarning as a configuration property.

These don’t define deferred binding properties, that is, differences the compile needs to manage and result in permutations. Rather, they’re properties you can set before your application runs or is compiled—in a way they’re a little like flags in a ...

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.