File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JNLP and Web Start and the fly likes can JWS be useful in this scenario Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "can JWS be useful in this scenario" Watch "can JWS be useful in this scenario" New topic

can JWS be useful in this scenario

Jayakrishnan Nair

Joined: Nov 06, 2002
Posts: 1
I am evaluating the possibilities of using JWS in a senario mentioned below, please guide me on this.

We have a Java Web Application (which requires tomcat, mysql) to be bundled in a CD along with the product developed by us.
In this case whether JWS can used for packaging and deployment?
thanks in advance
Chantal Ackermann
Ranch Hand

Joined: Sep 28, 2000
Posts: 508
if you are bundling your product on cd you will most likely have some installation manager that could install the java web app. it would be a bit of an overhead to let the user start the cd, then his/her browser, open a html site on the cd and start jws.
the only benefit of the cd-jws-app would then be that the user does not need to download the java app over the internet. but using the cd as homesite for the jws app means that you will not be able to deploy any updates through this jws app, unless you provide a new jnlp file (which means, in fact, to provide a new jws app as JavaWebStart differences apps through homesite addresses).
a "dirty" solution to provide an installation of a jws app without download but with the possibility to download updated over the internet would be:
to install the app into the jws cache. but that is totally theoretical, I suppose, from my view of the jws cache.
hope this was not too huddled together...
if you have not installed a jws app yet, you should do it for testing purposes to see what its advantages and disadvantages are.
I agree. Here's the link:
subject: can JWS be useful in this scenario
It's not a secret anymore!