I believe any programmer who has been dealing with database requests in a gui application has run into some or all of the following problems:
- Your GUI freezes because you call database layer from within the event dispatch thread
- When you have multiple windows/panels/jframes where user can start a db request your performance degrades because you don't have any control about the threads your user creates
- User may be able to lock down the application and even the database because he calls any action many times before the first action has been finished
What I'd like to know about: are there any frameworks that handle the requirements of handling an ordered set of long running actions (including but not limited to database calls, i.e. calculations) outside the event dispatch thread?
Note: I know of SwingWorker ;-)