How to make java faster - has anyone tried this?

by "Steve burrill" <steve.burrill(at)celtic-web.co.uk>

 Date:  Fri, 23 Feb 2001 13:57:04 -0000
 To:  <hwg-techniques(at)hwg.org>
  todo: View Thread, Original
Came across this snippet in a mail I received, just wondered if there is any
mileage to this..

>Practically all browsers support something called a 'jar' file,
>which allows you to 'compress' your files usually by 50% or more
>(thus 50% faster!). However, not many people know how to do so.
>Here is an easy method.
>
>JAR files are essentially a '.zip' file. So what you do is 'ZIP'
>all your .class files together (and call it, say, 'javafiles.zip').
>Then, simply change the 'extension' (the .zip) to '.jar'. (Click on
>the file name with your right mouse button, then click on 'rename',
>and then rename the file (in this example) to 'javafiles.jar').
>
>Then, you simply add this code "archive=javafiles.jar" into your
>applet tag. I.e.,
>
><applet archive=javafiles.jar code=mainfile.class>
></applet>
>
>And now -- it will load much faster depending on the compression,
>which is usually 50-75% faster!

Steve


==========================================================================
Celtic Web Services
http://www.celtic-web.co.uk
Tel: 01633 482766

Domain Name Registration, Web Site Design, Hosting, Promotion and
Consultancy.

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA