1
votes

When I seek for information regarding GWT I find a lot of java examples. Then I installed the GWT on my computer and the sample it generates contains one HTML, that contains the basics of my page, and of course java files that controls it.

What is the glue between both? Is the HTML file the result of the compilation, so automatically generated by the framework and we only need to deal with the java file?

Thanks.

1

1 Answers

3
votes

GWT works by compiling those Java source files into JavaScript which your browser can run.

You write Java code supported by GWT and the GWT compiler will use that to create HTML and JS output that a web browser can use later. This compiler then, is your "glue" that binds the Java files and the final output.