Hello, I would like to deploy Tomcat bundled with a few applications (both webapps and non-web applications). Preferably, this would all be stored in one file (be it a jar, ear, or any other format), and upon decompressing, I could simply run a script that would activate the server, load the webapps onto the server, and launch the non-web applications. My first question is how can I package Tomcat along with all other necessary source/class files, scripts and whatnot. I would be interested in packaging via Eclipse, but any other method would be fine as well.

I am currently running Tomcat v6.0.18 on Windows XP, but I plan to deploy on both Windows XP and Linux (various possible flavors).

If more information is needed, please let me know, and I will reply as quickly as I can. Thanks for your help.