2.8. Digging deeper into the uncompiled application

In the uncompiled part of the project sits the Java code for your application and any GWT module definitions, both client and server side (if you’re using GWT-RPC or RequestFactory). You should stick to certain conventions for folder structure as well as Java package structure. Also noteworthy are some (sensible when you think about it) restrictions on the Java constructs you can use on the client side, as well as some Java classes GWT expects to see, as we’ll cover next.

2.8.1. Folder structure convention

Typically, a GWT application structure has four folders: src, lib, bin, and test. The content of your test cases is usually found in the test folder. Because you aren’t including any other ...

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.