> > WebStart caching test - a test of the 'lazy' download...
...
> > <http://www.javasaver.com/testjs/jws/cache/>
> >
> > The theory is that the (<20KB) of classes of this
> > (sandboxed) application should spring onto screen
> > quickly,
....
> > Does it work that way for you?
>
> Yes.
Thanks.
I also got another positive from ratnaprasad via gmail.
"Yes its working as you said.
I tested it.
The initial class loads very fast, upon clicking the images its taking
time to down load, once its cached everything is faster."
Thanks Ratna(? first name). Note that it is better to
share your results with the group - where we can all
benefit from the information.
I am looking to prepare another example that attempts to
reference the classes in code (other than by using reflection)
to see if I can retain that 'lazyness'.
Andrew T.
Andrew Thompson - 09 Oct 2006 13:11 GMT
...
> I am looking to prepare another example that attempts to
> reference the classes in code (other than by using reflection)
> to see if I can retain that 'lazyness'.
This example references the classes in 'lazy' resources
as local variables..
<http://www.javasaver.com/testjs/jws/cache2/>
Not only are all jars downloaded eagerly, but as soon as the
main classes load (the ones flagged as 'eager', and before
the GUI is on-screen) the JWS splash *disappears* and the
end-user is looking at about 20 seconds* of 'blank space'
before anything else appears on-screen!
* Whatever time it takes to download the media
jars which are marked as a lazy download.
...Ugggh!
Andrew T.