Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the use GWT generator?

Tags:

I have seen that GWT framework is having generator feature. In what case we have to use gwt generator option and why it is needed? Can anyone tell me simply why,what is gwt generator? Done some googling. But not much helpful stuffs...

like image 800
DonX Avatar asked Jul 21 '10 10:07

DonX


People also ask

What is deferred binding?

Deferred Binding is a fully generic mechanism for handling features that vary according to some context. Another classic example of Deferred Binding is Internationalization: the GWT Compiler uses Deferred Binding to generate a completely separate version of the application for each language.

Which language do you use to program in GWT?

It is important to remember that the target language of your GWT application is ultimately JavaScript, so there are some differences between running your application in dev-mode, superdev-mode, and production mode.


1 Answers

From this tutorial:

Generators allow the GWT coder to generate Java code at compile time and have it then be compiled along with the rest of the project into JavaScript.

This tutorial uses the example of generating a Map of values at compile time based on a properties file.

like image 84
Jason Hall Avatar answered Sep 19 '22 08:09

Jason Hall