Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deploy Play! application as executable jar

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)

like image 331
teamon Avatar asked Apr 08 '10 10:04

teamon


People also ask

How do I make a JAR file executable?

Right click on your Java Project and select Export. Select Java -> Runnable JAR file -> Next. Select the Destination folder where you would like to save it and click Finish.

Can heroku run a JAR file?

Deployment with Scala, Clojure and GradleOther JVM languages have support for deploying executable JAR files on Heroku.


1 Answers

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.

like image 109
Thorbjørn Ravn Andersen Avatar answered Nov 04 '22 16:11

Thorbjørn Ravn Andersen