File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes where is the code saved on client side ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "where is the code saved on client side ?" Watch "where is the code saved on client side ?" New topic
Author

where is the code saved on client side ?

Steve Yu
Ranch Hand

Joined: Mar 26, 2003
Posts: 60
A very very simple question --- when a client user download an applet to view it, it must download the bytecode through internet, so is the bytecode saved on local PC ? if so, what directory ? If I view an applet from a browser opened on a Unix workstation, then where is the bytecode saved ?
thanks,
steve
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15952
    
  19

It depends on the browser. The browser maintains disk and memory caches for downloaded items. Often the sizes of the caches can be tuned, but the tuning and location of these caches is very much dependent on the way the browser was implemented.
Java classloaders are not required to actually load from disk. It's perfectly legal to have classloaders build up classes from non-disk sources.


Customer surveys are for companies who didn't pay proper attention to begin with.
Steve Yu
Ranch Hand

Joined: Mar 26, 2003
Posts: 60
Originally posted by Tim Holloway:
It depends on the browser. The browser maintains disk and memory caches for downloaded items. Often the sizes of the caches can be tuned, but the tuning and location of these caches is very much dependent on the way the browser was implemented.
Java classloaders are not required to actually load from disk. It's perfectly legal to have classloaders build up classes from non-disk sources.

so do you mean it is downloaded to the cache of local machine ?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: where is the code saved on client side ?
 
Similar Threads
Applets on Linux
Applets loading local classes?
why java interprets?
user to create folder
applet and jsp - retain values in applet ?? PLEASE HELP!