[ 
http://issues.apache.org/jira/browse/GERONIMO-1705?page=comments#action_12369325
 ] 

Jeff Genender commented on GERONIMO-1705:
-----------------------------------------

Yep..you are on the track...

I see you launching a background task from the servlet, in a static Hashmap 
that has an ID, and the ID comes back to the browser on the first call.  The 
browser can then poll the task with that ID through the servlet to get a 
completed % upon querying the task.

Here is a great link on the design:

https://bpcatalog.dev.java.net/nonav/ajax/progress-bar/

and here is some code to get an idea on a possible way to do it:

https://bpcatalog.dev.java.net/source/browse/bpcatalog/ws/ajax/progress-bar/

> Use AJAX to provide for a progress bar when downloading a JDBC jar
> ------------------------------------------------------------------
>
>          Key: GERONIMO-1705
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1705
>      Project: Geronimo
>         Type: Improvement
>   Components: console
>     Versions: 1.0
>     Reporter: Jeff Genender

>
> Use AJAX to provide for a progress bar when downloading a JDBC jar for the 
> Download Drivers portlet.  As it stands, for people who have slower 
> connections, it currently can make them think something is wrong with 
> Geronimo because web page refresh takes too long.  A progrss bar using AJAX 
> can help keep the user up to date on the downloading progress.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to