• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

applet basics

 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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 ]
 
anagha patankar
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Ulf for helping me with my queries.

Regards,
anagha
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic