multithreading - Spinning a new java thread to do db work for better UI responsiveness -


i have old application, uses jdbc access db. have page handles edits record, , thinking of spinning new thread when save button hit, user not have wait response.

are there things need concerned in doing this?

handling workflow in asynchronous model i'd concerned about.

  1. what application in case of failure or success?
  2. could user continue without caring if previous action succeeded or failed?

cannot comment on technical issues without knowing more system architecture.


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -