• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Launching an application from CD!!

 
Ranch Hand
Posts: 305
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic