简体   繁体   中英

Develop and run under different versions of Play Framework

是否可以在Play Framework 1.2.x / 1.3.x下开发和测试应用程序,并在用Play Framework 2.xx编写的可投入生产的Web应用程序中运行它(例如,作为模块)?

No , it is not possible to run a Play 1.x application as module or similar under/within a Play 2.x project. Play 2.x was completely rewritten from scratch - you could say it is a complete different framework with the same concepts as Play 1.x.

However you could let the apps communicate with each other (eg via webservices, a message system, etc.) However I think thats not a really good solution.

My recommendation is to just use the latest version of Play 2.x - Play 1.x is slowly dying, do not use it. Play 2 development is pushed forward whereas Play 1 hardly sees updates and new features. Also the Play 2 community is much more active. There are only one or two active committers to the Play 1 project - when they resign I guess no one will take care of the framework anymore. The Play 1 mailing list is basically dead too.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM