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

DownloadServiceListener RFE for webstart

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 6u1
    • Fix Version/s: 7
    • Component/s: deploy
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      J2SE Version (please include all output from java -version flag):
      java version "1.6.0_01"
      Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
      Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)


      Does this problem occur on J2SE 1.4.x or 5.0.x ? Yes / No (pick one)
      Yes


      Operating System Configuration Information (be specific):
      Windows XP PRO SP2
      IE 7.0

      Hardware Configuration Information (be specific):
      Sony VIAO laptop 2.8 Gz
      1.25 GB RAM


      Bug Description:
      Currently, there is no way to add a DownloadServiceListener to the DownloadService without starting
      a download manually. I don't want to have to do this. I would like a way to add a listener to the
      DownloadService in general, so I can be notified when a download (or whatever) is occuring. Then
      I can decide what to do with the information.

      For instance, our application is very modular. Generally, when a module is loaded and initialized,
      many of its classes will need to be loaded and webstart will therefore bring down the correct parts.
      Our jar files and JNLP file is constructed carefully, but I don't really want to forced to maintain
      which dependancies each module has. However, if I want to show the user progress for this stage, I
      would need to download the parts manually in order to add a listener.

      Instead, it would be nice if I could implement the DownloadServiceListener (or something) and
      register it with the DownloadService. Then, when a jar file is being downloaded, I could give the
      user some feedback. It is great that webstart automatically downloads the classes that are needed
      on demand, but it is important that the user gets some explanation of why they are waiting for
      something. The current API makes these two items (automatic download / user feedback) mutually exclusive.
      Customer really want this feature and it looks like not a big changes. Therefore I upgrade this RFE to P3

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: