> Miguel, could you clarify what you meant by JmolApplet?.jar files
> vis-a-vis
> Jmol.js? Is there more than one JmolApplet.jar file? Which version of
> Jmol.js
> makes distinctions here, and on what basis?

This is all pre-release code.

I split JmolApplet.jar into multiple files named JmolApplet0.jar ->
JmolApplet6.jar

JmolApplet0.jar contains an applet loader that should make the browsers
much happier. The applet initializes very quickly, so that browsers like
FireFox will not time out over slow internet connections.

After the applet loader is initialized it loads the rest of the applet. It
starts up multiple threads so that several things can be loaded and
initialized in parallel.

The Java plugin code also supports a mechanism called 'jar indexing'. The
first .jar file contains a table which maps classes to specific .jar
files. That way, .jar files can only be downloaded if/when they are
needed. This might be helpful where people want to add functionality that
is infrequently used.

Jmol.js uses the multi-jar JmolApplet?.jar mechanism.

There is still a single JmolApplet.jar file. It should do essentially the
same thing. The difference is that the classes may not be at the beginning
of the file, so the whole thing might have to be loaded before the applet
can initialize. As I said, this has been a problem for some browsers ...
they die if an applet does no initialize in 30 seconds.


My plan is for Jmol.js to always use this new multi-file mechanism going
forward.

I will continue to produce the monolithic JmolApplet.jar file for people
who choose not to use Jmol.js.

Miguel



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to