• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to control Browser load JRE  RSS feed

 
Johnny Tong
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I have encountered a tough issue ,which is browser load JRE every single time when entering applet. A user has entered the applet and have the JVM loaded, under what condition(s), the JVM will be released and require the system to reload the JVM again when the user re-enters to the applet。Some of our clients’ computer would require the first step Browser load JVM always be done every single time the user enters to the applet (even without logout or close the current browser). Is there some setting in Browser or JAVA application setting could potentially control the loading of JVM ?

Could anyone help me out?

Thanks in advance.

Regards,
Johnny
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This sounds odd. All the browser/JRE combinations I've encountered load the JVM once, and then keep it in memory until the browser quits. For which browser/JRE combination have you noticed this?

The applet will of course be reloaded every time its page is revisited, but that should't take a long time (assuming there's no time-consuming setup).
 
Johnny Tong
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

The JRE version is 1.5.0_16, and the browser is IE6 or 7 i'm not very sure.I thought it's weird as well.
for your answers, if the We allow JRE to cache the applet, does browser still load applet every time?

Johnny
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you surf away from the page containing the applet, then the applet will be discarded, and will need to be restarted once you re-enter the page.

If the applet consists of jar files, then those will be cached (and thus not downloaded again from the server) IF applet jar file caching is turned on in the Java Plugin control panel (which it is by default, but you may want to check).
 
Johnny Tong
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I think i got u.Let me conclude:
1. IE load JRE
No matter what the IE setting is, it will only load once user enters the applet page and keep it into memory until IE quits.
2.JRE load applet.
JRE load applet from cache if exists ,otherwise download from server.

Is the above absolutely correct?

Johnny
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which "IE setting" are you referring to?
 
Johnny Tong
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I meant all the settings, like cache, or plugin and etc. In other words, How and how often IE load JRE is settled,
regardless the IE settings (accessed via Tools->Internet Options)

Johnny
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In that case I think your conclusions are correct.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!