Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

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

 
Greenhorn
Posts: 6
  • 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

 
Bartender
Posts: 11445
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • 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

 
Get me the mayor's office! I need to tell her about this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic