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 ?
# 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)