Just a little addition: You have to be careful, because scalatra uses thread locals for e.g. params and you would have to bind them to a local variable in the handler first, because the Future will be executed on a different thread ans thus the variables will not be present there.
–
drexinNov 29 '12 at 21:00