GWT Cheat Sheet
|
This content was generated with the assistance of AI and should be verified against the official documentation before being relied on in production. |
A single-page, colour-coded summary of the GWT essentials, written against GWT 2.13.1 (released 2026-06-19),
gwt-maven-plugin 1.3.0, JDK 21 with -sourceLevel 17 and Jakarta Servlet 6 (versions verified 2026-10-08) — the BOM,
archetype and development commands, module XML and properties, compiler and code-server flags, JRE emulation limits,
JsInterop and its JSNI mapping, deferred binding, widgets, panels, handlers and the scheduler, UiBinder, cell widgets and
Editors, ClientBundle and CSS/GSS, internationalization, History and Activities and Places, GWT-RPC, RequestBuilder,
JSON and RequestFactory, code splitting, linkers and caching, testing, a security strip, and a strip of what changed since
older tutorials — handy for quick memorization or as a downloadable PDF desk
reference.
For the full explanation, every option, and additional examples, see the dedicated pages:
Start here — GWT (Google Web Toolkit).
Foundations — Introduction & Architecture, Getting Started, Project Structure & Modules, Build Tools: Maven & Gradle, Compiler & Compilation, Development Mode & Debugging, and JRE Emulation & Shared Code.
Java and JavaScript — JsInterop, JSNI & Overlay Types, DOM & Elemental2, Deferred Binding & Generators, and Delayed Logic & Scheduler.
Building user interfaces — Widgets, Panels & Layout, Events & Handlers, Custom Widgets & Composites, UiBinder, Cell Widgets, Editors, Styling: CSS & GSS, ClientBundle & Images, HTML5 Features, Accessibility & ARIA, and Internationalization.
Application architecture — History & Navigation, MVP, Activities & Places, Validation, and Logging.
Client-server communication — Client–Server Communication, GWT-RPC, RequestBuilder, JSON & XML, REST & JSON Libraries, RequestFactory & AutoBeans, and Server Integration & Deployment.
Security — SafeHtml & XSS and XSRF, RPC & Server Security.
Performance and optimisation — Code Splitting, Compile Reports & Optimization, and Linkers & Bootstrap.
Testing — Testing.
Ecosystem, the future and migration — Ecosystem & Libraries, J2CL & the Future, Tooling & IDE Support, and What’s Changed & Migration.
References
The PDF summarizes the official documentation; each source is cited in full on the page listed above that covers it, and in the section bibliography.