concept everything in category gwt

appears as: everything
GWT in Action

This is an excerpt from Manning's book GWT in Action.

Figure 1.2. This is an artist’s rendering of what the GWT compiler is responsible for. This figure doesn’t cover everything the compiler does, but it does provide a high-level overview of how Java code (on the left) is compiled into JavaScript code.
Figure 1.2. This is an artist’s rendering of what the GWT compiler is responsible for. This figure doesn’t cover everything the compiler does, but it does provide a high-level overview of how Java code (on the left) is compiled into JavaScript code.

Another cool feature of the compiler is the ability to weave your Java code with existing JavaScript code. The compiler does this via the use of the JavaScript Native Interface (JSNI), which allows you to embed JavaScript code within your Java classes in order to facilitate Java-to-JavaScript communication (chapter 11, “Using JSNI—JavaScript Native Interface”). It all ends up as JavaScript when the compiler weaves everything together.

Throughout this book we’ve covered everything you need to know to build massive GWT applications that will rival anything found on the desktop. But perhaps your massive application is a little too massive. Perhaps it feels slow and bloated. Perhaps you know that you need to optimize your application, but you aren’t sure exactly where to start.