Play 框架如何运作? [英] How does the Play Framework function?
本文介绍了Play 框架如何运作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我喜欢玩!.与其他企业 Java 框架相比,开发人员使用起来非常简单.但是,它是如何做到的?是什么让像 Java 这样的编译语言可以进行编辑-刷新循环?是什么让 Play!以它的方式工作?
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 possible with a compiled language like Java? What makes Play! work the way it works?
推荐答案
Play 使用 Eclipse 编译器在运行时编译代码.
Play uses the Eclipse compiler to compile code at run-time.
看看下面的类,Play 使用它在运行时执行必要的编译.
Take a look at the following class, that is used by Play to perform the necessary compilation at run time.
这篇关于Play 框架如何运作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文