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.
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