Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>As Hillbrand pointed out, given the pace of GWT's development, most books you'll find will not teach you about the latest features. But that's fine, as long as you are willing to learn from other sources as well, most important of them being the GWT's own online documentation. Specifically you'll want to read <a href="http://code.google.com/webtoolkit/doc/latest/ReleaseNotes.html">release notes</a> versions that came after your books publishing.</p> <p>As you're an experienced Java developer, you'll most likely want to know how GWT compares with the technologies you already know. But before you go down that path, I recommend that you get familiar with features that are unique to GWT's (therefore quiet uncomparable). For example:</p> <p><strong>1. Java to Javascript compilation</strong> s First thing you must have heard about GWT is that it compiles Java code into JavaScript. But,</p> <ul> <li>How do you control the compilation, for example what gets compiled, and otherwise <a href="http://code.google.com/webtoolkit/doc/latest/FAQ_DebuggingAndCompiling.html#Can_I_speed_up_the_GWT_compiler?">influence</a> the compilation process?</li> <li><a href="http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsCompatibility.html">Are all Java language features available on client-side?</a></li> <li><a href="http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html">What standard JRE libraries are available on the client-side?</a> </li> <li>How GWT compiler optimize output for different browsers while still keeping the compiled output size small? </li> <li>And, offcourse, how do you use compiled javascript in your page? </li> </ul> <p>These are some of the questions that you should be able to answer to assume that you're fairly familiar with the compilation process</p> <p><strong>2. <a href="http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html#dev_mode">Development Mode</a></strong> (former versions were known as hosted mode)</p> <p>Development mode is another unique feature of GWT. What it does is to let you run your app in browser without compiling the java into javascript first. But it's not sort of just-in-time compilation. The development mode lets you <a href="http://code.google.com/webtoolkit/doc/latest/tutorial/debug.html">debug your GWT app</a> as it was a normal Java program. Essentially, you can use your Java debugger to put breakpoints in Java source and inspect the variables etc. </p> <p><strong>3. <a href="http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsDeferred.html">Deferred Binding</a></strong></p> <p>At first you don't need intricate knowledge of Deferred Binding internals. But if you are like me, every time you'll see <code>GWT.create(SomeClass.class)</code> in code, you'll want to know what this odd looking line does. </p> <p>Simply put, this is the feature that lets GWT compiler do many interesting things. As you learn more about this feature, the crucial thing to keep in mind is that this feature is all about compilation process. Code <code>GWT.create(SomeClass.class)</code> looks like a familiar static method call, but GWT compiler treat it differently, very differently indeed. </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload