• 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
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

Loading *.jar and/or JRE from network drive possible with JavaWebstart?

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As far as I know when the user clicks a WebStart link on a webpage then (at first) only a *.jnlp file is delivered to the local computer resp. the browser.
Afterwards it is oftentimes described that
1. An appropriate JRE environment is launched from the local computer
and
2. a *.jar file (with the actual application) is retrieved from remote web server and started within the local J2SE environment.

Some related questions about this scenario:

1.) Can I load a JRE environment from another, local inhouse network drive/computer instead of the local computer?
2.) Can I load the *.jar file from another, local inhouse network drive/computer instead of the remote (Internet) server?
3.) The application *.jar is put into the browsers cache.
   Assume the network connection is broken after the first successful download. Can I start the WebStart application out of the browsers cache anyway or is a running
   network connection absolutely required for each start?

Peter

 
Bartender
Posts: 11445
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Peter Steiner wrote:
1.) Can I load a JRE environment from another, local inhouse network drive/computer instead of the local computer?
2.) Can I load the *.jar file from another, local inhouse network drive/computer instead of the remote (Internet) server?
3.) The application *.jar is put into the browsers cache.
   Assume the network connection is broken after the first successful download. Can I start the WebStart application out of the browsers cache anyway or is a running
   network connection absolutely required for each start?



1) Nope
2) Not directly. However if you configure your jnlp and point it to your inhouse network drive it might work.
3) Yup. That's what the offline-allowed JNLP element indicates. Of course you also need to club it with <update check="background"/>
Read explanation here: http://docs.oracle.com/javase/7/docs/technotes/guides/javaws/enhancements6.html

 
Once upon a time there were three bears. And they were visted by a golden haired tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic