Download applet jars in parts.

Hi,

I am having a applet having around 10 jars in its CACHE_ARCHIVE ,

Now this makes applet loading very slow.

WHat i want is just download 5 jars initially and download remaining jars only when req.

Do we have a control on this ? Can we implement our own class loader which will manage the download of jars ?

[345 byte] By [anuraag_shindea] at [2007-11-27 7:53:14]
# 1

> Hi,

> I am having a applet having around 10 jars in its

> CACHE_ARCHIVE ,

> Now this makes applet loading very slow.

> WHat i want is just download 5 jars initially and

> download remaining jars only when req.

>

> Do we have a control on this ? Can we implement our

> own class loader which will manage the download of

> jars ?

I think this should function.

http://java.sun.com/j2se/1.5.0/docs/api/java/net/JarURLConnection.html

(T)

tswaina at 2007-7-12 19:34:30 > top of Java-index,Desktop,Core GUI APIs...
# 2
Take a look at the JAR INDEXING function (with the jar utilty).It creates an index to speed up JAR loading especially for Applet with multiple jars. http://www.ibm.com/developerworks/library/j-jar/-- http://www.rgagnon.com/howto.html
RealHowToa at 2007-7-12 19:34:30 > top of Java-index,Desktop,Core GUI APIs...