Carlos Busca
Carlos Busca

Reputation: 135

Loading jars just when it needed

I have an applet when is loaded it comes with several jars, but most of them will just be used if the user selects some functionalities of the applet. I'd like to know if there is any way just to download those jars when the user selects those functions and accelerate the initial loading of the applet?

Upvotes: 0

Views: 43

Answers (1)

Andrew Thompson
Andrew Thompson

Reputation: 168835

Launch the applet using Java Web Start. Mark the Jars as a 'lazy' download in the JNLP.

Upvotes: 1

Related Questions