The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

This topic is READ ONLY
import-bot (20211) [Avatar] Offline
#1
[Originally posted by manis]

Hi Team,

Is there a tech-source for applet load optimization???. Is breaking up
Swing.jar a good solution ?..or should we force load swing.jar in clients
machine and then refer to this jar..??. I am looking for ways to reduce
initial load time of an applet.
Thanks..Mani
import-bot (20211) [Avatar] Offline
#2
Re: Applet Load Time - Optimization techniques??
[Originally posted by matt]

If the user has the Java Plugin installed (via JRE or JDK)
you shouldn't have to include any of the Swing classes,
or the jar itself, in your applet. You won't be able to run
a Swing applet from a browser without the Plugin.

The fastest loading applets are bundled into a jar
and executed once they make it to the client. Bundle
your own code in a jar and use the Java Plugin-friendly
HTML Converter (available from JavaSoft's Plugin page)
to set up your web page(s) to point to your jar.