Methods and apparatus for executing an applet are disclosed. A virtual
machine that includes a class loader generates a file download request in
the form of an http request to a particular server computer that contains
appropriate applet component files. The class loader queries a root JAR
file having an index file associated with applet. The class loader creates
a HASH table based upon the contents of the index file that provides a
mapping of all packages and all corresponding JAR files required to
execute the applet by the virtual machine. During virtual machine runtime
the class loader queries the HASH table in order to directly access the
appropriate applet component file to be downloaded and executed by the
virtual machine.
Methoden und Apparate für die Durchführung eines applet werden freigegeben. Eine virtuelle Maschine, die eine Kategorie Ladevorrichtung miteinschließt, erzeugt einen Akte Downloadantrag in Form eines HTTP Antrags zu einem bestimmten Bedienercomputer, der passende appletbestandteilakten enthält. Die Kategorie Ladevorrichtung fragt eine Wurzel GLAS-Akte, die eine Indexakte hat, die mit applet verbunden ist. Die Kategorie Ladevorrichtung stellt eine DURCHEINANDER-Tabelle her, die nach dem Inhalt der Indexakte gegründet wird, die ein Diagramm aller Pakete und aller entsprechenden GLAS-Akten liefert, die erfordert werden, den applet durchzuführen durch die virtuelle Maschine. Während der virtuellen Maschine Laufzeit fragt die Kategorie Ladevorrichtung die DURCHEINANDER-Tabelle, um die durch die virtuelle Maschine downloadet zu werden und durchgeführt worden Teilakte des passenden applet direkt zugänglich zu machen.