|Reported by:||ak19||Owned by:||nobody|
At present, the JS code is polling to find that collection building and activation has finished.
Polling within Java may be solved with event handlers firing events (causing interrupts) and activating event handling code.
- web long poll (hack to avoid polling by asking the server's OS to do a system file look up process, that blocks until ready and so has the side-effect we want)
- Better solution: web sockets. Confirm it is supported by all browsers.
But if using web sockets, need graceful fallback for older browsers and platforms that don't support web sockets. For instance, need to check if Android supports web sockets.
Google "shim", one or more short lines of code, that produce the functionality in a browser that has not yet been officially implemented in that browser, to bring it up to speed in behaviour with other browsers where that feature has been implemented.