I'm trying to get a result back from an asynchronous method. But I looked into Seam code and understood that the Future returned by the interceptor is useless to me since it is using a Runnable and not a Callable...
Maybe I'm taking the wrong path. My requirements are:
please wait) must be displayed while processing
the problem here is that i cannot use a synchronous action since all subsequent queries will not be executed until the first one has returned (and then cannot cancel the action). Here what i'll trying to do without luck so far:
please waitpopup (as a result of a boolean flag set in the synch.start())
But i cannot pass the result from aSynch to synch, nor access the aSynch bean. I tried several things:
At the end I understood that asynchronous methods are kind of
fire and forget. I looked here
So is there any simple way to achieve that kind of things.