1.2. Exploring the toolkit
In this section we’ll explore from the top down, starting with the GWT compiler, which is the most important and exciting part of what GWT has to offer. From there we’ll introduce a few other key pieces that make the toolkit hum, including templates, events, remote server calls, internationalization, and more.
1.2.1. Compiling and optimizing
At the heart of the toolkit is the compiler, which takes your Java code and compiles it into JavaScript. During the process it will analyze your code in order to optimize it and remove any code that isn’t reachable by your application. It then generates JavaScript code that’s minified so that the file size is as small as possible. And this is only part of what the compiler does. ...
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.