Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Prince Manchanda
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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;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.

    Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
    the new thread boost feature: great for the advertiser and smooth for the coderanch user
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!