Hi All,
we've got a page which does time consuming tasks.
Because of that, every time a user calls the page a new background-thread is
started (only if not running already) and
the user is informed that the task is running and the page will be updated with
fresh data as quickly as the thread has finished.
We've realized that the WHOLE application is blocked until the
background-thread finishes. That is no other page can be called
by the user who has started the thraed. The app is also not responding to other
users as long as the thread is running.
The background thread class i'm using is a simple thread extending the thread
class and retrieving data from a very very big database in its run method.
I'm using Wicket 1.3.5 on Tomcat6.0.18
Any ideas?