Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Applet caching

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I'm developing a web solution for order tracking. I'm using a java applet. The jar needed is on the supplier's server and the clients will connect to it. The thing is how can I avoid downloading the jar from the supplier all the time?

I was thinking that maybe if I copy the jar archive into the client's harddrive and then add a classpath to it, the browser would detect it and wouldn't download the file. But this doesn't seem to work at all! Is this possible or not?

Other way was to try and store the jar on the java-plugin cache, but if it was possible I'd prefer to have it on the classpath since the jar is a bit big and so everytime the were updates they'd need to download it again. If it was possible to use a classpath I could send the clients new version on cd or something.

Using the web browser cache is impractible since the jar ends up being deleted very often, and I'm by all means trying to avoid downloading.

Any tips on this subject?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top