What is the use GWT generator?

后端 未结 6 954
[愿得一人]
[愿得一人] 2020-12-15 18:37

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

6条回答
  •  半阙折子戏
    2020-12-15 19:14

    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.

提交回复
热议问题