2

我们已经使用 PlayFramework1.2 完成了概念 Web 应用程序的快速验证,现在我们希望继续进行生产发布,但其中一个问题是 Play Framework 与企业不兼容,并且希望将应用程序移植到 Spring。

将 playframework 项目移植到 Spring MVC 的任何工具或指南?

注意:我说的是不兼容企业,因为似乎 Play1.x 开发已被放弃,并且最近没有任何新的 Play 1.x 版本。当前的 Play 框架 2.0 也更关注 Scala 而不是 Java。

4

1 回答 1

2

As above posters mentioned Play 1.x was an initial draft. I was in your shoes contemplating whether to rebuild the app in Spring but I gave Play 2.x a chance and now I don't think I want to go for Spring at all. With every release Play is becoming more and more feature rich. I think before migrating to Spring you should give Play 2.1 a chance. Moreover if you need Spring for DI then you can actually mix Spring with Play 2.1 as well. See this demo app:

https://github.com/guillaumebort/play20-spring-demo

Hope that helps.

于 2013-09-18T18:28:19.867 回答