I'm not sure it's exactly what you're after but here's an example of polling an asynchronous task
http://tapestry-stitch.uklance.cloudbees.net/progresslinkdemo
I'm not sure it's exactly what you're after but here's an example of polling an asynchronous task
http://tapestry-stitch.uklance.cloudbees.net/progresslinkdemo