Re: [Stripes-users] Stripes-users Digest, Vol 113, Issue 4

2016-01-26 Thread VANKEISBELCK Remi
Hi Ron, Sending an email at the end of the task is even easier : you don't need polling at all ! Simply submit a runnable with your webservice call and response handling (send the email) to an ExecutorService from the action. This is "fire and forget" : submission to the executor doesn't block.

Re: [Stripes-users] Stripes-users Digest, Vol 113, Issue 4

2016-01-25 Thread Rick Grashel
Hi Ron, I'm not sure how this code will be formatted on the mailing list, but give this code a try. I've used this approach in the past for simple tasks. Obviously, if you have more complex tasks, you may want to create your own Runnable worker. But this approach creates an action bean that is

Re: [Stripes-users] Stripes-users Digest, Vol 113, Issue 4

2016-01-25 Thread Ron King
The link that Joaquin describes is not quite what I want either. I want to allow the user to go ahead and continue to work, not wait one minute before they can go on. This seems to describe a scenario where a 'wait page' would be updated periodically, and I don't want the user to have to wait at