• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 760
  • Last Modified:

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
0
muthiahmerchant
Asked:
muthiahmerchant
  • 3
  • 2
  • 2
  • +1
2 Solutions
 
fargoCommented:
please clarify what do u mean by deployed as desktop application?  Is the functionality of the application is like desktop apps..or u want some special handlings?
0
 
muthiahmerchantAuthor Commented:
The functionality of the application is like a desktop application. instead of using awt or swing, I am trying to use webpage as the UI and hence need to install tomcat when the application gets installed.

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.
0
 
radarshCommented:
If you deploy in in your local system, you can always access the application by using http://localhost.......
in the URL. Even I'm not clear by what you mean by deployed as a desktop application.

And one more point to add... If you have a desktop application like something that's built on swing,
you can get a distributed functionality by using JNLP or Applets. I guess you are looking for the
exact reverse of this


________
radarsh
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
radarshCommented:
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
0
 
fargoCommented:
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.
0
 
muthiahmerchantAuthor Commented:
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
0
 
suprapto45Commented:
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
0
 
fargoCommented:
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/
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 3
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now