How does the Play Framework function?

前端 未结 3 769
无人及你
无人及你 2021-01-02 04:48

I love Play!. Compared to other enterprise Java frameworks, it\'s incredibly simple for the developer to use. But, how does it do that? What makes the edit-refresh cycle pos

3条回答
  •  天命终不由人
    2021-01-02 05:12

    Play uses the Eclipse compiler to compile code at run-time.

    Take a look at the following class, that is used by Play to perform the necessary compilation at run time.

    https://github.com/playframework/play/blob/master/framework/src/play/classloading/ApplicationCompiler.java

提交回复
热议问题