muthiahmerchant
asked on
Deploy a web application WITH tomcat
I have created a web application. But this is more like a desktop application using web technology, and hence needs to be deployed with a webserver. Is there a way to deploy a java,jsp,struts application with tomcat as a desktop application
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
It all depends on the installer you use... Can't you create a shortcut to an internet explorer window
with the URL set to that of your application? You can always specify welcome/start pages for your web
applications. For things like installing a database automatically, probably you'll have to write a
script.
________
radarsh
with the URL set to that of your application? You can always specify welcome/start pages for your web
applications. For things like installing a database automatically, probably you'll have to write a
script.
________
radarsh
creating shortcut on the first page and all such functionalities can also be handled in web applications, but u definitely has to have some authentication rulesets then! Moreover deploying a web application with the functionalities like desktop apps is not different then deploying a normal web application.
ASKER
Sorry for all this confusion.
I want to create an exe file or something of that sort that when distributed to someone else can install on their computer. but being a web app, it should also install tomcat during the process of installation, and create shortcuts etc. I am not sure if softwares like Installshield have that kind off functionallity, but they are very pricey. are thereany other options. I have seen applications like testdirector which are distributed as exe files but once the application is installed the UI is a webpage, but in this case one of its requirement is that there should be IIS on your machine.
Hope I was clear.
Thanks
I want to create an exe file or something of that sort that when distributed to someone else can install on their computer. but being a web app, it should also install tomcat during the process of installation, and create shortcuts etc. I am not sure if softwares like Installshield have that kind off functionallity, but they are very pricey. are thereany other options. I have seen applications like testdirector which are distributed as exe files but once the application is installed the UI is a webpage, but in this case one of its requirement is that there should be IIS on your machine.
Hope I was clear.
Thanks
Hi,
If that is the case, I am afraid that you cannot do that in one step.
In my opinion, you need to
1. Create a deployment file (WAR) file for your web app.
2. Ask the users to manually install Tomcat and tell them where to put the WAR file
3. Perform additional and necessary steps.
There might be a way to automate all these things. However, the exe file must include the Tomcat setup as well as the WAR file. This may not be able to be done using the standard installation (such as Inno setup or etc). It looks like you have to ask someone to create a custom installer for you and it may be costly ;)
David
If that is the case, I am afraid that you cannot do that in one step.
In my opinion, you need to
1. Create a deployment file (WAR) file for your web app.
2. Ask the users to manually install Tomcat and tell them where to put the WAR file
3. Perform additional and necessary steps.
There might be a way to automate all these things. However, the exe file must include the Tomcat setup as well as the WAR file. This may not be able to be done using the standard installation (such as Inno setup or etc). It looks like you have to ask someone to create a custom installer for you and it may be costly ;)
David
May be IzPack can help u to have a custom installer. I have no experience with it's usage..but it has good market reviews. Check it out..
http://www.izforge.com/izpack/
http://www.izforge.com/izpack/
ASKER
also I don't know how to deploy this kind of an application on a desktop such that it will create shortcut to the first page etc and install access database etc.