开发者

Run Tomcat from Java Web Start

Is it possible to distribute Tomcat by J开发者_Go百科ava Web Start and run it from there?

My application shall run within its own Tomcat server on the machine it is deployed on. Can I package Tomcat and the client application into one Java Web Start archive and run the Tomcat server and the client once the user has downloaded the Java Web Start archive?


You cannot run a full blown Tomcat as it expects a certain layout in the filesystem and scripts and more.

You can however run an embedded web server in an application where you control it completely. I have done that with Jetty. You might find Howto embed Tomcat 6? interesting.


This might be possible if you signed all the jars correctly. But, it seems like this is quite a heavyweight solution. Have you considered doing this with Jetty?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜