Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8033472

Webstart has a UI problem with lazily download jar files

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 7u60
    • deploy
    • x86
    • windows_7

      webstart has always had a user-experience problem with lazily download jar files that they don’t want to deal with. This is easily demonstrated by turning on the trace logging.

      · Turn on trace logging in the deployment.properties file
      · Clear the webstart cache
      · Click on a JNLP link to start an application with jars that are designated as LAZY.

      The webstart splash will show while the “eager” files are downloaded. Then the application starts, and after that the “lazy” jar files (seems like all of them…whether they are going to be used or not) are then downloaded. This can easily be detected by watching the console. However, there is no end-user user feedback that these downloads are occurring…the application just stops. There is no easy way for an application developer to detect that this is happening to provide that feedback either.

      check the RFEs: http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6575167

      This one shows that it was fixed, but don’t really see any changes.

      A general DownloadListener still cannot be added, only by downloading a part explicitly can a listener be added. This puts application developers in the position where either we need to manage the resources manually, let the application kind of hang which this occurs in the background, or set all the jar files as “eager”.

       

            herrick Andy Herrick (Inactive)
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: