• 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

disk cache for JAR files when running plugin

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am working on an applet which will run under the Java plugin (and JRE1.1.7B). Our JAR file is fairly large; so, it would be nice if the plugin did not have to reload the JAR file every time. There is a memory cache which works if you revisit the page without restarting the browser. Is there a way to cache the JAR file on disk so that it does not have to be reloaded if you do restart the browser?
Thanks for any help you can give!
Regards!
Phil
 
Trailboss
Posts: 23780
IntelliJ IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I remember at the Java Summit there was talk about that, but no particulars. I just relayed your question to their mailing list in hopes for details.
I guess the problem is that the caching is screwed up in both browsers, but there is a way to fix it.
Will let you know what I find out.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please refer to Java Developer Connection, Question 551 for details.
http://developer.java.sun.com/developer/
You can copy a jar file to a local browser if you are using a signed applet. Please refer to java.util.jar package for functions, JarInputStream, JarOutputStream.
If you are using an unsigned applet, the jar files must reside locally. One way to get them there is to have your web server serve the files via the browser "Save As File" function.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic