Play! framework uses a of statics

后端 未结 14 1887
太阳男子
太阳男子 2020-12-07 15:29

Waaah, the Play! framework has so many static methods. Where I go to school, we were told never ever to use any statics, yet Play! uses it like there\'s no tomorrow

14条回答
  •  轮回少年
    2020-12-07 15:54

    You can now use Spring DI within Play, see https://stackoverflow.com/a/16552598/10433. I'm using it and it works fine so far.

提交回复
热议问题