wood burning stoves 2.0*
The moose likes Applets and the fly likes applet basics Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "applet basics" Watch "applet basics" New topic
Author

applet basics

anagha patankar
Ranch Hand

Joined: Dec 26, 2005
Posts: 53
Hello,
Understand that I must read before seeking free help from others - but I have been moved to a project involving applets .

Feel it will help me understand things faster if while reading I ask my queries ( basic..... )

Here goes :

1 >applets - running in browser JRE - my understanding is that the browser must have a JRE .
Is JRE same as "plug in" at browser end ?

2 >Is an applet kept on the web server or application server ?

3 >I understand / assume - it gets downloaded at browser end - at which specific location on the hard disk can I get to see these class files / jar files

4 >The downloaded jar file - do I need to manually delete the file or browser does that automatically ? ( on closing browser ? )

5 >Similar to server side memory configuration - ( -XMs ) is there a way I can improve the memory configuration for my browser ?

Thanks ,
anagha
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39575
    
  27
1 >applets - running in browser JRE - my understanding is that the browser must have a JRE .Is JRE same as "plug in" at browser end ?
Yes.
2 >Is an applet kept on the web server or application server ?
On the web server.
3 >I understand / assume - it gets downloaded at browser end - at which specific location on the hard disk can I get to see these class files / jar files
The files are kept in memory by the browser; they are not stored.
4 >The downloaded jar file - do I need to manually delete the file or browser does that automatically ?
The Plugin has a mechanism for caching applet jar files (in order to avoid downloading then again and again); see here for details. The Plugin Control Panel has some options on how big the cache can grow, and you can also turn it off completely. So, in general, you don't need to worry about that,
5 >Similar to server side memory configuration - ( -XMs ) is there a way I can improve the memory configuration for my browser ?

The Java Plugin control panel has some options for running applets; I'm not sure if changing the memory allocation is part of it, though. I think very recent versions of the Plugin (1.6_10 and newer?) allow you to set that.

The Sun Java Tutorial has a lenghty chapter on applets that you should read. You may also want to bookmark the JavaRanch Applet FAQ.
[ December 07, 2008: Message edited by: Ulf Dittmer ]

Ping & DNS - updated with new look and Ping home screen widget
anagha patankar
Ranch Hand

Joined: Dec 26, 2005
Posts: 53
Thanks Ulf for helping me with my queries.

Regards,
anagha
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: applet basics
 
Similar Threads
Finding Class Files on Host Computer
few confusions abt applets!
Java web start
JWS - A Good Way To Demo Apps
Filter problem - jar file not downloading