No words wasted! Getting to the point about the work I do, the problems I deal with, and some links to posts about where I work.
Translate
Wednesday, September 9, 2015
Spring - Using @Async to execute methods asynchronously
I have a long running database update that was added to a web application. Didn't seem right to have a method running for so long with the final result being a "Success!" message on the web page and no feedback to the client in the meantime so I made the method run asynchronously using Spring @EnableAsync and @Async. You can get my Eclipse test web application at Git Project.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Thank you for commenting!