Preloading JavaPlugIn Cache for different JRE
My Applet based application must work with different JRE (1.4.X ... 1.5.X) configured in JavaPlugIn Control Panel.
The application is rather huge and clients want to have sth like JavaPlugIn Cache preloading feature.
When I open JavaPlugin cache directory I see several files
e.g.: for 1.4.2 there are some jarname.jar-XXXXXXX-XXXXX.zip with appriopriate jarname.jar-XXXXXXX-XXXXXX.idx.
I suppose that XXXXXX-XXXXXX are unique and probably generated based on codebase, JRE version, JAR version. I also found that I can prepare jar cache template by downloading it on one machine and distribute accross other workstations. The only problem I have is that everytime applets' version changes I have to generate JavaPlugin cache for all supported JRE and distribute it to client worksations and prepopulate JavaPlugin Cache directory.
So my questions are:
1. Is it possible to use some tool / API to generate JavaPlugin Cache files (generating XXXXX-XXXX and .idx files) for different JRE. If so how can I use it?
2. How to simplify generating jar cache files?
3. What about using codebase as local URL e.g.: file://c/myjars/
Is there any risk of using that solution (ofcourse the risk is that codebase URL pointing at local directory may not exist).
I also checked and it seams JavaPlugin does not create cache files when using disk based ClassLoader but is it always true?
Regards
Mac

