开发者

Packaging java web application as exe

开发者 https://www.devze.com 2023-01-08 21:26 出处:网络
Are there any free tools using whi开发者_如何学Goch I can package my war (java web app) and tomcat as exeWe distribute our web application Kunagi as a .war, a debian package and also as a windows .exe

Are there any free tools using whi开发者_如何学Goch I can package my war (java web app) and tomcat as exe


We distribute our web application Kunagi as a .war, a debian package and also as a windows .exe. The windows versiont works as follows:

The .exe is created by a tool which exists on all windows machines, called iexpress. It is just an archive which is executable. On execution it extracts itself into a temporary directory and then executes a predefined command in this direcotry.

So wie pack a minimal embedded Tomcat (just 5 jars) into it, together with Katokorbo.

Katokorbo is a simple Swing application which downloads a war from the web and starts it with the embedded Tomcat. It also checks for new versions of the webapp on startup, asks the user if he wants to upgrade, starts a browser with the webapp and provides a gui to the user to view log output and for stopping the whole thing.


Maven can do that (http://maven.apache.org/) and I think Ant can too.

0

精彩评论

暂无评论...
验证码 换一张
取 消