部署播放!应用程序作为可执行jar [英] Deploy Play! application as executable jar

查看:161
本文介绍了部署播放!应用程序作为可执行jar的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以捆绑Play! Web应用程序到可执行jar而不是战争?
是否只能在某个端口的localhost上运行,就像使用play run命令一样? (无需安装播放到系统中)

Is it possible to bundle Play! web application to executable jar instead of war? Could it just be run on localhost at some port just like when using "play run" command? (without the need of installing play into system)

推荐答案

如果你有一个WAR,你可以使用Winstone的嵌入模式servlet容器获取一个独立的可执行jar。这就是哈德森所做的。

If you have a WAR, you can use the embedded mode of the Winstone servlet container to get a stand-alone executable jar. This is what Hudson does.

这篇关于部署播放!应用程序作为可执行jar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆