• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Loading of applet is too slow

 
Bharani Lingamaneni
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are using an applet in our web application. The applet of our application is dependent on bouncycastle jar,bcprov-jdk15.jar and few other jar's whose size comes around 4 mb. When using the appliaction on jre7, the applet is taking too long time to load than usual time. Is there any way to place these jar's in client machine? Will it improve the performance? Is there any other way to reduce the loading time of applet apart from placing jars in client machine?
Thanks in Advance.
 
Paul Clapham
Sheriff
Pie
Posts: 20739
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Java plugin will cache the jars as long as they don't change, so the long download time will only apply to a user's first time using the applet.

As for placing the jars in the client machine: if you have that kind of access to your clients, why not just write a plain old Java application and place the whole thing, jars and all, in their machines?
 
Bharani Lingamaneni
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Paul Clapham . I have observer that in my application the jars were being downloaded every time not only for the first time. I have added <param name="classloader_cache" value="true" />. But even after this the jar's were cached randomly. <param name="cache_archive" value="xxxx.jar"/> tried with this also but the result is same. Any suggestions to catch jar's apart from these? In the starting of my application itself Cache-control,Pragma etc... were set to no-cache , will this be an issue?
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic