更新时间:2023-12-04 11:05:10
您可以用弹簧组件与游戏结合春季和使用它的服务/模型层:的 http://www.playframework.org/modules/spring
You can use spring module to integrates spring with play and use it for the service/model layers : http://www.playframework.org/modules/spring
或者你可以简单地创建控制器和模型之间的业务层和自己使用的一些模式(单,工厂,...),以线控制器与这些服务
Or you can simply create a Service layer between Controllers and Model and use some patterns by yourself (singleton, factory, ...) to wire controllers with these services