DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   JSP (http://www.daniweb.com/forums/forum24.html)
-   -   creating installer for java web application (http://www.daniweb.com/forums/thread188394.html)

satin Apr 24th, 2009 3:52 am
creating installer for java web application
 
HI..
Is there any tool available for creating an installable version of my web application which will ask for to bind tomcat , mysql with my application.
So my final exe wil contain my web application,tomcat and mysql related files.

peter_budo Apr 24th, 2009 7:40 am
Re: creating installer for java web application
 
Definitely not EXE as that Windows extension and major number of Tomcat servers are Unix/Linux based. I'm not aware of any tool that will be able to deploy to Tomcat and database in one go, but happy to learn if there are any.
You may put your Tomcat files into WAR (here is how) and export your database into SQL file which you will easily upload to your server database
Create SQL file through command line/command prompt
mysqldump -u YOUR_USERNAME DATABASE_NAME>FILE_NAME.sql -p
Redeploy SQL back to database command line/command prompt
mysql -u username DATABASE_NAME<FILE_NAME.sql -p
Deployment of SQL file can be easily done through database tools like phpMyAdmin or MySQL GUI Tools, but I never did export that way. For some funny reason I do it always through command line


All times are GMT -4. The time now is 8:42 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC