• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Peter Steiner
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • 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

 
Maneesh Godbole
Saloon Keeper
Posts: 11312
16
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • 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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic