This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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... regards, Arun Mahajan
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 (say...it 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.