This is a green running environment with integrated jre,tomcat,mysql, which can be run directly after decompression. No need for users to install Jre,tomcat,mysql, a key in place, looks like a desktop Web application. In other words, it's like a combination of web and desktop applications.
The entire project was compressed to 34M (with two simple Web applications), I think the current bandwidth and hard disk is not a monster. For the sake of safety, the JRE inside I did not do any slimming, is complete jre1.6u11,tomcat use is 6.0.16, Port default is 8080, MySQL use 5.1.3 This is also the smallest full version, support InnoDB, Default user root, password empty
So you can use this environment to run your entire project, directly deploy your project to App\web, the database files are stored under App\data (you can use the tool to connect to this MySQL to make some necessary changes), and then the entire application is packaged and sent to the user.
Unzip directly after download, run Jtm0.9.exe, click "Start (Debug mode)" To run your Java EE application.
Control Interface
Using debug mode allows your Java EE application to run virtually anywhere under windows and even unzip it directly to the desktop to run your Web app.
Startup of Debug mode
The "service Mode" mode registers tomcat with MySQL as a system service, so that no command-line window will appear and the service background will run automatically. You can run uninstall (System service) to uninstall the service that you have already registered. The software turned green again. (Note: You need to turn UAC off in Vista to register system services properly)
The current version I hardcoded the Tomcat and MySQL ports, you can manually modify their ports, but there will be some shortcomings. I will solve this problem in version 1.0 (if there is a production)
If you find any other problems or deficiencies, please feel free to instruct and correct them. Welcome to your letter: [email protected]
: JTM0.9 (for:jre + Tomcat + Mysql) environment
Version JTM1.0 has been updated, go to page http://www.blogjava.net/huliqing/archive/2009/03/25/261905.html
-[Email protected]
-Http://www.huliqing.name
One key to solve the Java EE application, jre+tomcat+mysql-javeee Green operating Environment JTM0.9 version (reprint)