I have gwt app. And I want run something in the different thread.
After thread was created I return status something like "in progress". Then thread fail (file not found, or something else) for example. How I can check thread status and return status to user? Check status every N sec?
Any suggestions? What you describe is named 'Polling'. There also are some GWT 'Push' solutions, where you keep the connection open and send events as they happen; do some searches on 'GWT push' and look at the literature.
以上就是check thread status in gwt的详细内容,更多请关注web前端其它相关文章!