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

DownloadServiceListener RFE for webstart

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P3 P3
    • 7
    • 6u1
    • deploy
    • x86
    • windows_xp

      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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: