> 
> To find out why and how actor model can help Struts2, I searched a lot 
> but just found following [1] at [2].
> 
> I wonder if you @dev have anything in your mind about: Why and how actor 

> model can help specifically Struts2 ? I don't mean in detail but if for 
> example there is a general issue exists reported by users which reminds 
> us the actor model. Or if for example we can run interceptors in 
> parallel. Or if for example we need sticky sessions in Struts2 and so so 

> any thought?.
> 
> Thanks in advance!
> Yasser.
> 

Hi,

I am not aware of specific issues or user requests.

I think of it like async servlets. Execution of action could be delegated 
to some executor thread pool and execution of result (which requires tcp 
connection / http response stream) must be done with some callback.

It is up to application to decide if they use async actions and which of 
their actions shall be async. So if they have usecases like Dave described 
(e.g. reading data from multiple backends) that would be candidates for 
async actions.


Regards,
Christoph

This Email was scanned by Sophos Anti Virus

Reply via email to