How does the Play Framework function?

前端 未结 3 748
无人及你
无人及你 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:22

    I've compared Play(+Scala) to Lift+mvn scala:cc+JRebel. Play is much better experience. Now, I know the reason:

    Play is stateless. So, it can unload the Controller, forget all the fields and load+initialize it again. JRebel is aimed to be much more generic. It assumes that the state is important, so it sometimes (frequently?) fails, because it can't preserve the state in some cases.

提交回复
热议问题