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 Launching an application from CD!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Launching an application from CD!!" Watch "Launching an application from CD!!" New topic

Launching an application from CD!!

arun mahajan
Ranch Hand

Joined: Dec 07, 2001
Posts: 305
I have following question and observations for JNLP techniques..Can some JGuru (or perhaps Moderator) can confirm for it:-
1. I can distribute my application (a standalone swing app) through CD also.
2. But the end user has to launce the applicatin first time using Internet through a web server which is capable of running JNLP files, using techniques discussed in the documentation for same.
3. But once user has launched the application he can run the same even if he is off line.
4. The only restrictions would be : A. that he may not be running the latest version. B. .jnlp must allow for cache usage.
Can somebody confir on this...
Arun Mahajan
Vishy Janardhan

Joined: Jun 17, 2002
Posts: 7
You could distribute the jnlp file along with your CD. The only condition would be that Web Start should be installed in the client machine before the person tries to lauch it.
The first time you lauch your application, it would download the application from the server where you have deployed it. You COULD run it offline the next time...but IF your application loads any resources at runtime through the network ( downloads all images to be displayed on your application at runtime off a web-server), then u are liable to run into problems.
Java WebStart caches the application in the directory u specify in the preferences in java webstart. So, that need not be specified explicitly in the .jnlp file. If you delete the cache on purpose (through the options in webstart), then you would not be able to run the application again without the client PC being connected to the net.
I agree. Here's the link:
subject: Launching an application from CD!!
It's not a secret anymore!