The JNLP spec allows you to associate package names with parts (and thereby with jar resources). A Lazy jar can therefore list all the packages included in it in the jnlp file. (this is similar to Jar Indexing, which was later invented) This helps when a resource included in one of the listed packages is requested, the lazy jar known t.o contain that package is loaded first. But it dosn't work the other way around. If a resource is requested that isn't included in any of the jars with their packages listed, then all of the jars with their packages listed (and know not to contain the resource) are downloaded anyway. If a resource being sought is not in any of the packages listed, then none of the lazy jars associated with package listings should be downloaded.
|