Directory

UITask for Vaadin - Vaadin Add-on Directory

UITask is a server-side add-on for Vaadin 7 that provides a simple framework for executing background tasks and updating the UI safely. UITask for Vaadin - Vaadin Add-on Directory
The add-on is primarily composed of a task that can be run on a background thread via an Executor and then complete the work safely in the UI thread/lock via a UIAccessor. Vaadin is not thread-safe, therefore all UI modifications must be done after obtaining the UI lock. This add-on attempts to simplify that process by providing an implementation of Future and exposing methods that are safely called in the UI thread. The add-on was inspired by by Swing's SwingWorker and JavaFX's Task. View the README for more details and examples.