• 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

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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic