Developer's Guide

Welcome to the GWT Developer's Guide. This guide introduces the key concepts, tools, and libraries you'll encounter when building web applications with GWT. The topics in this guide span project organization, coding, debugging, testing, optimizing, and publishing your web application.

Note - If you're new to GWT and eager to start playing immediately, you might want to try the Quick Start. For specific technical details, see the Reference guide and Articles.

Tutorials

  1. Create, build and run a GWT application — Create, build, debug and compile a sample application.
  2. Communicating with the server — Add an asynchronous call to a web server using GWT RPC or JSON, serialize Java objects, and handle exceptions
  3. Internationalizing a GWT application — Translate the user interface of a GWT application into another language
  4. Unit testing with JUnit — Add unit tests to a GWT application using JUnit
  5. Deploying to Google App Engine — Deploy a GWT application to App Engine

Developer Guide

  1. Organize Projects — Describes conventions to identify which code is intended to run on the client browser, the server, or both
  2. Compile & Debug — Describes development and production modes
  3. Coding Basics — Describes GWT programming fundamentals
  4. Build User Interfaces — How to work with widgets, panels, the DOM, events, CSS, declarative UI and images. Cell widgets / Editors - 2.1, Cell tables - 2.2
  5. HTML5 Feature Support 2.3 — Describes GWT support for HTML5 features, such as Storage, Canvas, Audio, Video, drag and drop, and so forth.
  6. Security for GWT Applications - How to secure your GWT applications against JavaScript attacks
  7. Security: Safe HTML 2.1 — Describes coding guidelines that prevent a large class of Cross-Site-Scripting (XSS) vulnerabilities
  8. Security: GWT RPC XSRF protection 2.3 — Describes how to prevent Cross-Site Request Forgery (XSRF or CSRF) vulnerabilities in GWT RPCs
  9. MVP Framework 2.1 — Sample app and documentation showing how to use Activities, Places, and the EventBus.
  10. RequestFactory 2.1 — Guide to creating data-oriented services using RequestFactory and EntityProxy classes.
  11. Logging 2.1 — Describes how to log events in client-side code in GWT applications.
  12. Accessibility 2.5 — Describes features that enable screen readers to interpret what is displayed on the screen for a visually impaired user
  13. Internationalization — Describes a flexible set of tools to help you internationalize your applications and libraries
  14. Communicate with a Server — Describes a couple of different ways to communicate with a server via HTTP
  15. Test with JUnit — Describes how to use the JUnit unit testing framework and Emma code coverage tool
  16. Deploy — Describes how to deploy both client- and server-side JavaScript
  17. Optimize — Describes how to improve the performance of your application
  18. IE9 Support - Tips and Tricks 2.3 - Support for Internet Explorer 9
  19. Reference — Provides javadoc for GWT and related libraries and technical details for GWT widgets
  20. FAQ — Frequently asked questions
  21. Glossary — GWT terminology