Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

How to cache, once, the jar for an applet, with the same version but coming from different servers.

 
Greenhorn
Posts: 1
Hibernate Java ME Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey all,
i have a question concerning java applets and caching , java plug-in side . If anyone can help it would be greatly appreciated

The scenario i am trying to model is the following: I have a network of ,say hunderds, of elements and each such element has an http server installed serving an applet (html, jnlp, jar). Each server has its own 'version' of the applet and of course there exist elements with the same version.

I need the jar to be cached based NOT on the element it is coming from but on the jar version. (assume version is in the manifest and being read properly)

is this possible ??

eg.

https://192.168.0.1/blah.jar (jar version 1.0)
https://192.168.0.2/blah.jar (jar version 1.0)
https://192.168.0.3/blah.jar (jar version 1.1)

i need the java plug-in to cache blah.jar TWICE and not all three jars and ,clearly, i want the applet to run from elements 0.1 and 0.2 using that same cached jar.

As i understand it i want to have caching independent of the server URL but based solely on the jar version or name and size or something similar.

This is so that the first time the applet is run from element .0.2 (assume .0.1 already successfully installed/cached) one dows NOT want to have to wait for the jar to download again!

Thank you all,
D.
 
I love a woman who dresses in stainless steel ... and carries tiny ads:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic