aspose file tools*
The moose likes Applets and the fly likes Java 7 | Can we download the applet JARs in parallel? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Java 7 | Can we download the applet JARs in parallel?" Watch "Java 7 | Can we download the applet JARs in parallel?" New topic
Author

Java 7 | Can we download the applet JARs in parallel?

Prince Manchanda
Ranch Hand

Joined: Jun 25, 2001
Posts: 52
Our Web application depends heavily on Java Applets. For each Java Applet we have multiple signed jar files that contain the applet class and the dependent classes. The number of these JARs can go upto 70-80 per applet.

Looking at the Java Console Logs, it seems that the JARs files are downloaded and processed one by one, in a typical sequential manner. This causes a delay in loading of an applet when the JRE cache is empty.

To overcome this, one of the options that we are considering is to download the JARs in parallel. The following http://bugs.sun.com/view_bug.do;jsessionid=24ca0c1ebdaa56b65e5d2c2389b6?bug_id=6890389 bug discusses an issue with parallel download of JARs:

So, my queries are:

  • Does JRE downloads applet JARs in parallel by default and the Java Console logs don't portray correct picture?
  • If above is correct, then how to validate if JARs are being downloaded in parallel?
  • If above is not correct, how we can download JARs in parallel? like some custom code approach or some flag for JRE.



  • Thanks and Regards
    P Manchanda
     
    It is sorta covered in the JavaRanch Style Guide.
     
    subject: Java 7 | Can we download the applet JARs in parallel?