Hello Ulf Thanks for your reply, Actually I am trying to defend my arguement with the company that an applet should be downloaded from the webserver rather than installing the applet in the windows registry. Currently my organization has a practice of installing applets inside windows registy by deploying them as Signed CAB files which gets automatically installed inside when a page containng this applet is reqested. I am trying to analyse whether instead of CAB is it possible to install SIGNED JAR FILES IN IE. I can further eloborate please can you let me know whether you can understand what I am trying to achieve? Thanks Farouk
Joined: Mar 22, 2005
Are you using the obsolete Microsoft JVM? I don't think that ever supported signed JAR files. I'm asking because you mention CAB files, and the Sun JVM doesn't support those.
In the general case, having everything come from the web server is to be preferred over any scheme that involved installing files locally - it's much harder to update to new versions, and much easier to break if the user messes around with his machine.
Here is some information on signing applets that covers the various JVMs and browsers. [ October 25, 2006: Message edited by: Ulf Dittmer ]
Joined: Jun 08, 2005
Hello Ulf Thanks for your quick response YES we are using the obsolete Micorost JVM Microsoft jdk 1.1.8 YES we are currenly deploying into user PC because of organizational policy of architects not allowing us to download from webserver.
Right now we tried downloading a unsigned jar and it is working ok running inside the sandbox which is our preferred approach but architects are asking us to install into the windows registry as CAB
I understand and appreciate what your saying about download jar and the reason for my analysis is that I am trying to defend saying downloading is better approach than installing cab in the pc and also this CAB will be ok now for Microsoft JVM but for sun jvm it would be a concern
When your saying Sun JVM doesn't support CAB cant we use a HTML Converter to convert the html Applet tag into OBJECT TAG and then try to download cab file?
Am i right in thikning there is no way we can install a singed jar into a windows registry like signed cab file Please conrfirm? Thanks Farouk
Joined: Mar 22, 2005
It's not a matter of using OBJECT over APPLET - the Sun JVM simply doesn't support the CAB file format.
I'm not familiar with the process of installing CAB files in the Windows registry, but I would be very surprised if it worked for JAR files as well. This might be something to research in the Microsoft Knowledge Base.
What is the rationale for wanting to use CAB files and the registry (beyond "the architects say so")? [ October 26, 2006: Message edited by: Ulf Dittmer ]
MSVM supports unsigned JAR files to be placed inthere search path to be loaded by browser %SYSTEMROOT%\Java\Lib -- for untrusted JAR/CAB files %SYSTEMROOT%\Java\TrustLib -- for trusted JAR/CAB files %SYSTEMROOT% -- C:\windows
Now I did place the unsigned applet jars inside these folders to be loaded from the pc rather than downloading from webserver. It does not work