Applet jar downloading
843807Jul 30 2010 — edited Jul 30 2010Hi,
As much as I understand, jars specified within the 'ARCHIVE' parameter of the APPLET tag are only downloaded when needed, i.e. a jar won't be dowloaded or at least not loaded into the classpath unless a class that's within it is being imported.
I conclude that by watching the java console messages which dislay whenever a jar is downloaded...
anyways, due to this behavior I occasionally run into flows that run really slowly because they import a class that's in a jar that wasn't yet downloaded... my question is whether there is anyway to tell the JVM to download in the background all jars specified in the ARCHIVE param ?
clearly I could add a swingworker that does that in the background but the problem is that this won't be automatic, i.e. whenever i'll add a new jar to the classpath, i'll need to write another import in the swing worker so that this jar will also be downloaded....
anyone ?
thanks,
Gil.