Skip to content

Instantly share code, notes, and snippets.

@AdamBien
Last active May 8, 2017 13:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AdamBien/ee62db6ca021c99090b821fdcf4e5594 to your computer and use it in GitHub Desktop.
Save AdamBien/ee62db6ca021c99090b821fdcf4e5594 to your computer and use it in GitHub Desktop.
38thAirhacksQ&A.md
@simdevmon
Copy link

Hi Adam,

I am using a @Asynchronous method, whichs returns a java.util.concurrent.Future inside a stateless bean to start some long running task (several minutes) via JAX-RS. After that I can poll the status and see if the execution isDone().
Which approach would you use to also update the current progress (%) that it can be polled via JAX-RS?

Best regards,
Simon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment