Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

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

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.

    If you open the box, you will find Heisenberg strangling Shrodenger's cat. And waving this tiny ad:
    Devious Experiments for a Truly Passive Greenhouse!
      Bookmark Topic Watch Topic
    • New Topic