• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

archive

 
shree vijay
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<APPLET code=Myown.class HEIGHT=300 WIDTH=300 ARCHIVE=big.jar>
</APPLET>
HI,
What does that ARCHIVE=big.jar mean exactly?
TIA,
------------------
Regards,
Shree
 
Stephanie Grasson
Ranch Hand
Posts: 347
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Shree!
Sometimes, for simple applets, you will have only one class and one class file. But sophisticated applets can use many classes. Each time the class loader determines that a class in the applet needs another class to operate, that needed class must be retrieved across the Net. This incures considerable overhead, and makes loading the applet very slow for the end user.
I believe that the ARCHIVE=big.jar is used to make downloading the applet more efficient. It tells the browser to download "big.jar". The browser expects that all the necessary components of "Myown" will be found in the JAR. Also, if the browser already has a current copy of this JAR file in its cache, it might be able to skip the download and display the applet right away.
I hope this helps.
Stephanie
 
shree vijay
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks,Stephanie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic