3
votes

If I understand these explanations http://code.google.com/intl/de-DE/webtoolkit/doc/latest/DevGuideCodingBasicsDeferred.html right the GWT compiler creates a *.java file for every class generated via GWT deferred binding. Are these files only in memory or stored in some kind of temporary work directory? Is there a way to have a look at the generated source code?

2

2 Answers

5
votes

Well, you can give the path for generated files to gwt compiler with "-gen " option.

Also you can give the same option to com.google.gwt.dev.DevMode class.

Gwt compiler options

0
votes

Compiler generates javascript files, not java files. They are in your war directory, under your modules name. Each generated javascript file is optimized for different browsers in different language (if you are using internationalization module).

If you create your own classes with native javascript, you may specify which implementation should be used with certain user-agents, so deferred binding works with your custom code as well.